GdPicture.NET.14.API
GdPicture14 Namespace / GdPicturePDF Class / SetLineDash Method





In This Topic
SetLineDash Method (GdPicturePDF)
In This Topic
Sets the dash pattern to be used when paths are stroked.
Overload List
OverloadDescription
Sets the dash pattern to be used when paths are stroked, for example, when you use the GdPicturePDF.DrawLine method or the GdPicturePDF.DrawRectangle method. The line dash pattern controls the pattern of dashes and gaps used to stroke paths. The specified values need to be expressed in the current units defined in the PDF document. The initial value is a solid line. You can reset the dash pattern to its initial value simply by using the GdPicturePDF.SetLineNoDash method.

The dash pattern parameter is one of the graphics state parameters. These parameters are initialized to their default values at the beginning of each page (see PDF Reference, Section "Graphics State").

You can use the GdPicturePDF.GetMeasurementUnit method to determine the currently defined units and you can use the GdPicturePDF.SetMeasurementUnit method to reset the units according to your preference.

 
Sets the dash pattern to be used when paths are stroked, for example, when you use the GdPicturePDF.DrawLine method or the GdPicturePDF.DrawRectangle method. The line dash pattern controls the pattern of dashes and gaps used to stroke paths. You are allowed to define dashes and gaps with the various length using this method. All specified values need to be expressed in the current units defined in the PDF document. The initial value is set to be a solid line. You can reset the dash pattern to its initial value simply by using the GdPicturePDF.SetLineNoDash method.

The dash pattern parameter is one of the graphics state parameters. These parameters are initialized to their default values at the beginning of each page (see PDF Reference, Section "Graphics State").

You can use the GdPicturePDF.GetMeasurementUnit method to determine the currently defined units and you can use the GdPicturePDF.SetMeasurementUnit method to reset the units according to your preference.

 
See Also