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





Gets or sets a PenLineCap enumeration value that describes the AnnObjectBase at the start of a AnnObjectBase.Stroke. This is a dependency property.

Syntax

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

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

Dependencies Property Information 

Identifier field

StrokeStartLineCapProperty

Metadata properties set to true

AffectsMeasure, AffectsRender

XAML Attributes Usage 

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

Dependencies Property Information 

Identifier field

StrokeStartLineCapProperty

Metadata properties set to true

AffectsMeasure, AffectsRender

Return Value

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

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.

This property has no effect if you set it on an object that has no Stroke or that has no start or end points. For example, this property has no effect if you set it on an AnnEllipseObject.

Requirements

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

See Also

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