Leadtools.Annotations Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
Subtract Method
See Also 
Leadtools.Annotations Namespace > AnnPoint Structure : Subtract Method



pt
The AnnPoint to translate.
sz
The AnnSize that specifies the pair of numbers to subtract from the coordinates of pt.
pt
The AnnPoint to translate.
sz
The AnnSize that specifies the pair of numbers to subtract from the coordinates of pt.
Translates an AnnPoint by the negative of a given AnnSize.

Syntax

Visual Basic (Declaration) 
Public Shared Function Subtract( _
   ByVal pt As AnnPoint, _
   ByVal sz As AnnSize _
) As AnnPoint
Visual Basic (Usage)Copy Code
Dim pt As AnnPoint
Dim sz As AnnSize
Dim value As AnnPoint
 
value = AnnPoint.Subtract(pt, sz)
C# 
public static AnnPoint Subtract( 
   AnnPoint pt,
   AnnSize sz
)
C++/CLI 
public:
static AnnPoint Subtract( 
   AnnPoint pt,
   AnnSize sz
) 

Parameters

pt
The AnnPoint to translate.
sz
The AnnSize that specifies the pair of numbers to subtract from the coordinates of pt.

Return Value

Returns the translated AnnPoint.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also

Leadtools.Annotations requires a Document or Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features