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



Gets or sets the DashStyle used for dashed lines drawn with this AnnPen object.

Syntax

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

Return Value

A DashStyle value that represents the style used for dashed lines drawn with this AnnPen object.

Example

For an example, refer to AnnPen.

Remarks

Note that DashStyle.Custom is not supported. If you pass DashStyle.Custom to this property, DashStyle.Solid will be used instead.

Requirements

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

See Also

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