LEADTOOLS Annotations for WPF and Silverlight (Leadtools.Windows.Annotations assembly)
LEAD Technologies, Inc

TextEdgeMargin Property (IAnnText)






Gets or sets the margin between the text and the bounding rectangle. .NET support
Syntax
[TypeConverterAttribute("System.Windows.LengthConverter, PresentationFramework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35")]
double TextEdgeMargin {get; set;}
'Declaration
 
<TypeConverterAttribute("System.Windows.LengthConverter, PresentationFramework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35")>
Property TextEdgeMargin As Double
'Usage
 
Dim instance As IAnnText
Dim value As Double
 
instance.TextEdgeMargin = value
 
value = instance.TextEdgeMargin
[TypeConverterAttribute("System.Windows.LengthConverter, PresentationFramework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35")]
double TextEdgeMargin {get; set;}
TypeConverterAttribute("System.Windows.LengthConverter, PresentationFramework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35")
get_TextEdgeMargin();
set_TextEdgeMargin(value);
[TypeConverterAttribute("System.Windows.LengthConverter, PresentationFramework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35")]
property double TextEdgeMargin {
   double get();
   void set (    double value);
}

Property 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: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

IAnnText Interface
IAnnText Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.