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

StrokeThickness Property (AnnObject)






Gets or sets the width of the AnnObject outline. This is a dependency property. .NET support Silverlight support
Syntax
[TypeConverterAttribute("System.Windows.LengthConverter, PresentationFramework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35")]
public double StrokeThickness {get; set;}
'Declaration
 
<TypeConverterAttribute("System.Windows.LengthConverter, PresentationFramework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35")>
Public Property StrokeThickness As Double
'Usage
 
Dim instance As AnnObject
Dim value As Double
 
instance.StrokeThickness = value
 
value = instance.StrokeThickness
[TypeConverterAttribute("System.Windows.LengthConverter, PresentationFramework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35")]
public double StrokeThickness {get; set;}
TypeConverterAttribute("System.Windows.LengthConverter, PresentationFramework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35")
 get_StrokeThickness();
set_StrokeThickness(value);
[TypeConverterAttribute("System.Windows.LengthConverter, PresentationFramework, Version=4.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.
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.

Example

For XAML example, refer to AnnPolygonObject.

For C#/VB examples, refer to AnnAutomationManager.

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

AnnObject Class
AnnObject Members

 

 


Products | Support | Contact Us | Copyright Notices

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