Leadtools.Annotations Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.10.31
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;}
Managed Extensions for C++ 
public: __property virtual DashStyle get_DashStyle();
public: __property virtual void set_DashStyle( 
   DashStyle value
);
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 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