LEADTOOLS Annotations (Leadtools.Annotations assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
EdgeMargin Property
See Also 
Leadtools.Annotations Namespace > IAnnTextObject Interface : EdgeMargin Property



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

Syntax

Visual Basic (Declaration) 
Property EdgeMargin As AnnLength
Visual Basic (Usage)Copy Code
Dim instance As IAnnTextObject
Dim value As AnnLength
 
instance.EdgeMargin = value
 
value = instance.EdgeMargin
C# 
AnnLength EdgeMargin {get; set;}
C++/CLI 
property AnnLength EdgeMargin {
   AnnLength get();
   void set (    AnnLength value);
}

Property Value

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

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.
For more information, refer to Using Text in Annotation Objects.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

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