←Select platform

TextEdgeMargin Property (IAnnText)

Summary

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

Syntax

C#
VB
C++
[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")> 
Property TextEdgeMargin As Double 
[TypeConverterAttribute("System.Windows.LengthConverter, PresentationFramework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35")] 
property double TextEdgeMargin { 
   double get(); 
   void set (    double ); 
} 

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

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Windows.Annotations Assembly
Click or drag to resize