Leadtools.Windows.Annotations Requires Document/Medical license. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
TextEdgeMargin Property
See Also 
Leadtools.Windows.Annotations Namespace > IAnnTextObject Interface : TextEdgeMargin Property





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

Syntax

Visual Basic (Declaration) 
<TypeConverterAttribute("System.Windows.LengthConverter, PresentationFramework, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35")>
Overridable Property TextEdgeMargin As Double
Visual Basic (Usage)Copy Code
Dim instance As IAnnTextObject
Dim value As Double
 
instance.TextEdgeMargin = value
 
value = instance.TextEdgeMargin
C# 
[TypeConverterAttribute("System.Windows.LengthConverter, PresentationFramework, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35")]
virtual double TextEdgeMargin {get; set;}
C++/CLI 
[TypeConverterAttribute("System.Windows.LengthConverter, PresentationFramework, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35")]
virtual property double TextEdgeMargin {
   double get();
   void set (double value);
}
XAML Syntax 
You cannot use this property in XAML.
XAML Syntax 
You cannot use this property in XAML.

Return Value

A double value that specifies the margin between the text and the bounding rectangle.

Remarks

Setting this value 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 WPF Annotation Objects.

Requirements

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

See Also

TextEdgeMargin requires a Document/Medical product license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features and Unlocking Special LEAD Features.