LEADTOOLS Annotations (Leadtools.Annotations assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
DashCap Property
See Also 
Leadtools.Annotations Namespace > AnnPen Class : DashCap Property



The DashCap Property is available in LEADTOOLS Document and Medical Imaging toolkits.

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;}
C++/CLI 
public:
virtual property DashCap DashCap {
   DashCap get();
   void set (    DashCap value);
}

Property Value

A System.Drawing.Drawing2D.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 System.Drawing.Drawing2D.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 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

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