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



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

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

Property 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 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