Description
Sets the alignment for this
Pen
object relative to the line.
Syntax
GpStatus WINGDIPAPI GdipSetPenMode(
GpPen *pen,
GpPenAlignment
penMode
);
PowerBASIC Syntax
DECLARE FUNCTION GdipSetPenMode ( _
BYVAL pen AS
DWORD, _
BYVAL penMode
AS LONG _
) AS LONG
Parameters
pen
[in] Pointer to the
Pen
object.
penMode
[in] Element of the
PenAlignment
enumeration that specifies the alignment setting of the pen relative to
the line that is drawn. The default value is PenAlignmentCenter.
Remarks
If you set the alignment of a
Pen
object to PenAlignmentInset, you cannot use that
pen to draw compound lines or triangular dash caps.
|