GdipSetPenDashStyle

 

 

Description

Sets the dash style for this Pen object.

Syntax

GpStatus WINGDIPAPI GdipSetPenDashStyle(

    GpPen *pen,

    GpDashStyle dashstyle

);

PowerBASIC Syntax

DECLARE FUNCTION GdipSetPenDashStyle ( _

    BYVAL pen AS DWORD, _

    BYVAL dashStyle AS LONG _

) AS LONG

Parameters

 

pen

[in] Pointer to the Pen object.

dashStyle

[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

The length of the dashes in a dashed line is dependent on the dash style and the width of the Pen object. The length of the space that separates two dashes in a dashed line is equal to the width of the Pen object.

 

Valid HTML 4.01 Transitional