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





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

Syntax

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

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

Dependencies Property Information 

Identifier field

StrokeEndLineCapProperty

Metadata properties set to true

AffectsMeasure, AffectsRender

XAML Attributes Usage 

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

Dependencies Property Information 

Identifier field

StrokeEndLineCapProperty

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

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

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