Leadtools.Annotations Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.10.31
EdgeMargin Property
See Also 
Leadtools.Annotations Namespace > AnnTextObject Class : EdgeMargin Property




Gets or sets the margin between the text and the Bounds bounding rectangle.

Syntax

Visual Basic (Declaration) 
Public Overridable Property EdgeMargin As AnnLength
Visual Basic (Usage)Copy Code
Dim instance As AnnTextObject
Dim value As AnnLength
 
instance.EdgeMargin = value
 
value = instance.EdgeMargin
C# 
public virtual AnnLength EdgeMargin {get; set;}
Managed Extensions for C++ 
public: __property virtual AnnLength get_EdgeMargin();
public: __property virtual void set_EdgeMargin( 
   AnnLength value
);
C++/CLI 
public:
virtual property AnnLength EdgeMargin {
   AnnLength get();
   void set (AnnLength value);
}

Return Value

An AnnLength structure that specifies the margin between the text and the Bounds bounding rectangle.

Example

For an example, refer to AnnTextObject.

Remarks

Setting this length to a positive value temporarily makes the bounding rectangle smaller by the amount of this property when the text position is calculated.

Please note that using a negative value can cause unexpected behavior.

For more information, refer to Using Text in Annotation Object.

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