Leadtools.Annotations Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.10.31
DashCap Property
See Also 
Leadtools.Annotations Namespace > AnnPen Class : DashCap Property




Gets or sets the cap style used at the end of the dashes that make up dashed lines drawn with this AnnPen object.

Syntax

Visual Basic (Declaration) 
Public Overridable Property DashCap As DashCap
Visual Basic (Usage)Copy Code
Dim instance As AnnPen
Dim value As DashCap
 
instance.DashCap = value
 
value = instance.DashCap
C# 
public virtual DashCap DashCap {get; set;}
Managed Extensions for C++ 
public: __property virtual DashCap get_DashCap();
public: __property virtual void set_DashCap( 
   DashCap value
);
C++/CLI 
public:
virtual property DashCap DashCap {
   DashCap get();
   void set (DashCap value);
}

Return Value

A DashCap value that represents the cap style used at the end of the dashes that make up dashed lines drawn with this AnnPen object.

Example

For an example, refer to AnnPen.

Remarks

Gets or sets a DashCap value that represents the cap style used at the beginning and end of the dashes that make up dashed lines drawn with this AnnPen object.

Do not set this property to DashCap.Triangle if the AnnPen object has its Pen.Alignment property set to PenAlignment.Inset.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

Leadtools.Annotations requires a Document or Medical toolkit license and unlock key. For more information, refer to: Raster Pro/Document/Medical Features