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





Gets or sets the width of the AnnObjectBase outline. This is a dependency property.

Syntax

Visual Basic (Declaration) 
<TypeConverterAttribute("System.Windows.LengthConverter, PresentationFramework, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35")>
Public Property StrokeThickness As Double
Visual Basic (Usage)Copy Code
Dim instance As AnnObjectBase
Dim value As Double
 
instance.StrokeThickness = value
 
value = instance.StrokeThickness
C# 
[TypeConverterAttribute("System.Windows.LengthConverter, PresentationFramework, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35")]
public double StrokeThickness {get; set;}
C++/CLI 
[TypeConverterAttribute("System.Windows.LengthConverter, PresentationFramework, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35")]
public:
property double StrokeThickness {
   double get();
   void set (double value);
}
XAML Attributes Usage 

<object StrokeThickness=double .../>

Dependencies Property Information 

Identifier field

StrokeThicknessProperty

Metadata properties set to true

AffectsMeasure, AffectsRender

XAML Attributes Usage 

<object StrokeThickness=double .../>

Dependencies Property Information 

Identifier field

StrokeThicknessProperty

Metadata properties set to true

AffectsMeasure, AffectsRender

Return Value

The width of the AnnObjectBase outline.

Example

For XAML example, refer to AnnPolygonObject.

For C#/VB examples, refer to AnnAutomationManager.

Remarks

This property has no effect if you set it on a shape that has no Stroke or that has no start or end points.

If this AnnObjectBase does not support strokes (AnnObjectBase.SupportsStroke value is false), setting this property to any value will be ignoreed.

Requirements

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

See Also

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