GdipSetPageUnit

 

 

Description

Sets the unit of measure for this Graphics object. The page unit belongs to the page transformation, which converts page coordinates to device coordinates.

Syntax

GpStatus WINGDIPAPI GdipSetPageUnit(

    GpGraphics *graphics,

    GpUnit unit

);

PowerBASIC Syntax

DECLARE FUNCTION GdipSetPageUnit ( _

    BYVAL graphics AS DWORD, _

    BYVAL unit AS LONG _

) AS LONG

Parameters

 

metafile

[in] Pointer to the Metafile object.

unit

[in] Element of the Unit enumeration that specifies the unit of measure for this Graphics object.

 

Valid HTML 4.01 Transitional