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





Gets or sets a PenLineCap enumeration value that specifies how the ends of a dash are drawn. This is a dependency property.

Syntax

Visual Basic (Declaration) 
Public Property StrokeDashCap As PenLineCap
Visual Basic (Usage)Copy Code
Dim instance As AnnObjectBase
Dim value As PenLineCap
 
instance.StrokeDashCap = value
 
value = instance.StrokeDashCap
C# 
public PenLineCap StrokeDashCap {get; set;}
C++/CLI 
public:
property PenLineCap StrokeDashCap {
   PenLineCap get();
   void set (PenLineCap value);
}
XAML Attributes Usage 

<object StrokeDashCap=System.Windows.Media.PenLineCap .../>

Dependencies Property Information 

Identifier field

StrokeDashCapProperty

Metadata properties set to true

AffectsMeasure, AffectsRender

XAML Attributes Usage 

<object StrokeDashCap=System.Windows.Media.PenLineCap .../>

Dependencies Property Information 

Identifier field

StrokeDashCapProperty

Metadata properties set to true

AffectsMeasure, AffectsRender

Return Value

One of the enumeration values for PenLineCap. The default is Flat.

Example

For XAML example, refer to AnnPolygonObject.

For C#/VB examples, refer to AnnAutomationManager.

Remarks

This setting applies to both ends of each dash.

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

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