Error processing SSI file
LEADTOOLS Annotations for WPF and Silverlight (Leadtools.Windows.Annotations assembly)

Show in webframe

TextEdgeMargin Property (AnnTextObject)






Gets or sets the margin between the text and the Rect bounding rectangle. This is a dependency property.
Syntax
[TypeConverterAttribute("System.Windows.LengthConverter, PresentationFramework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35")]
public double TextEdgeMargin {get; set;}
'Declaration
 
<TypeConverterAttribute("System.Windows.LengthConverter, PresentationFramework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35")>
Public Property TextEdgeMargin As Double
'Usage
 
Dim instance As AnnTextObject
Dim value As Double
 
instance.TextEdgeMargin = value
 
value = instance.TextEdgeMargin

            

            
[TypeConverterAttribute("System.Windows.LengthConverter, PresentationFramework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35")]
public:
property double TextEdgeMargin {
   double get();
   void set (    double value);
}

Property Value

A System.Double value that specifies the margin between the text and the Rect 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.

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

For more information, refer to Using Text in WPF Annotation Objects.

Example

For XAML example, refer to AnnGroupObject.

For C#/VB examples, refer to AnnTextObject.

Requirements

Target Platforms

See Also

Reference

AnnTextObject Class
AnnTextObject Members

Error processing SSI file
   Leadtools.Windows.Annotations requires a Document or Medical toolkit license and unlock key. For more information, refer to: LEADTOOLS Toolkit Features