Description
Sets the distance from the start of the line
to the start of the first dash in a dashed line.
Syntax
GpStatus WINGDIPAPI GdipSetPenDashOffset(
GpPen *pen,
REAL offset
);
PowerBASIC Syntax
DECLARE FUNCTION GdipSetPenDashOffset ( _
BYVAL pen AS
DWORD, _
BYVAL offset AS
SINGLE _
) AS LONG
Parameters
pen
[in] Pointer to the
Pen
object.
offset
[in] Single precision value that specifies the
number of times to shift the spaces in a dashed line. Each shift is
equal to the length of a space in the dashed line.
Remarks
A positive offset value
shifts the first dash forward along the path, and a negative offset
value shifts the start of the path forward along the first dash.
|