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
); |
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