Visual Basic (Declaration) | |
---|---|
<TypeConverterAttribute("System.Windows.LengthConverter, PresentationFramework, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35")> Public Property TextEdgeMargin As Double |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
[TypeConverterAttribute("System.Windows.LengthConverter, PresentationFramework, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35")] public double TextEdgeMargin {get; set;} |
C++/CLI | |
---|---|
[TypeConverterAttribute("System.Windows.LengthConverter, PresentationFramework, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35")] public: property double TextEdgeMargin { double get(); void set (double value); } |
XAML Attributes Usage | |
---|---|
<object TextEdgeMargin=double .../> |
Dependencies Property Information | |
---|---|
Identifier field | |
Metadata properties set to true | AffectsMeasure, AffectsRender |
XAML Attributes Usage | |
---|---|
<object TextEdgeMargin=double .../> |
Dependencies Property Information | |
---|---|
Identifier field | |
Metadata properties set to true | AffectsMeasure, AffectsRender |
Return Value
A double value that specifies the margin between the text and the bounding rectangle.For XAML example, refer to AnnGroupObject.
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.TextEdgeMargin.
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.TextEdgeMargin.
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, and Windows Server 2003 family