GdipGetPenDashArray

 

 

Description

Gets an array of custom dashes and spaces currently set for this Pen object.

Syntax

GpStatus WINGDIPAPI GdipGetPenDashArray(

    GpPen *pen,

    REAL *dash,

    INT count

);

PowerBASIC Syntax

DECLARE FUNCTION GdipGetPenDashArray ( _

    BYVAL pen AS DWORD, _

    BYREF dash AS SINGLE, _

    BYVAL count AS LONG _

) AS LONG

Parameters

 

pen

[in] Pointer to the Pen object.

dash

[out] Pointer to an array that receives the length of the dashes and spaces in a custom dashed line.

count

[in] Long integer value that specifies the number of elements in the dash array.

Remarks

The elements in the dash array set the length of each dash and space in the dash pattern. The first element sets the length of a dash, the second element sets the length of a space, the third element sets the length of a dash, and so forth.

 

The length of each dash and space in the dash pattern is the product of each element in the array and the width of the Pen object.

 

Valid HTML 4.01 Transitional