The Stroke Property supports WPF/Silverlight.
The Stroke Property is available in LEADTOOLS Document and Medical Imaging toolkits.
Gets or sets the System.Windows.Media.Color associated with this AnnObject to draw this object's outline. This is a dependency property.Supported in Silverlight, Windows Phone 7Visual Basic (Declaration) | |
---|---|
Public Property Stroke As Color |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As AnnObject Dim value As Color instance.Stroke = value value = instance.Stroke |
C# | |
---|---|
public Color Stroke {get; set;} |
Property Value
A Color that specifies how the AnnObject outline is painted. The default is System.Windows.Media.Colors.Red.For XAML example, refer to AnnPolygonObject.
For C#/VB examples, refer to AnnAutomationManager.
If this AnnObject does not support strokes (SupportsStroke value is false), this property will always return null (Nothing in Visual Basic).
If this AnnObject does not support strokes (SupportsStroke value is false), setting this property to any value will be ignored.
Target Platforms: Silverlight 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)