LEADTOOLS Annotations for WPF and Silverlight (Leadtools.Windows.Annotations assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.31
StrokeThickness Property
See Also 
Leadtools.Windows.Annotations Namespace > AnnObject Class : StrokeThickness Property



The StrokeThickness Property supports WPF/Silverlight.

The StrokeThickness Property is available in LEADTOOLS Document and Medical Imaging toolkits.

Gets or sets the width of the AnnObject outline. This is a dependency property.Supported in Silverlight, Windows Phone 7

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 AnnObject
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);
}

Property Value

The width of the AnnObject 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 AnnObject does not support strokes (SupportsStroke value is false), setting this property to any value will be ignored.

Requirements

Target Platforms: Silverlight 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)

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.