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




Gets or sets the distance from the start of a line to the beginning of a dash pattern.

Syntax

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

Return Value

A single-precision floating point number that represents the distance from the start of a line to the beginning of a dash pattern. This value uses the same unit of measure as the one used as the Unit value for the Width property.

Example

For an example, refer to AnnPen.

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