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



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

Gets or sets the System.Drawing.Drawing2D.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);
}

Property Value

A System.Drawing.Drawing2D.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 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