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



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

Syntax

Visual Basic (Declaration) 
Public Overridable Property EdgeMargin As AnnLength
Visual Basic (Usage)Copy Code
Dim instance As AnnGroupObject
Dim value As AnnLength
 
instance.EdgeMargin = value
 
value = instance.EdgeMargin
C# 
public virtual AnnLength EdgeMargin {get; set;}
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 bounding rectangle.

Remarks

When "getting" this property, internally this AnnGroupObject will enumerate all objects in the group and return the margin of the first annotation object in the group that implements the IAnnTextObject interface. For more information refer to IAnnTextObject.EdgeMargin.

When "setting" this property, internally this AnnGroupObject will enumerate all objects in the group and set the margin for each object that implements the IAnnTextObject interface. For more information refer to IAnnTextObject.EdgeMargin.

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