Leadtools.Annotations Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.10.31
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.
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
)
Managed Extensions for 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 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

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