Skip to content

Latest commit

 

History

History
51 lines (34 loc) · 980 Bytes

GdipSetPageUnit.md

File metadata and controls

51 lines (34 loc) · 980 Bytes

Home

Function name : GdipSetPageUnit

Group: GDI+ Graphics - Library: gdiplus


Sets the unit of measure for this Graphics handle.


Declaration:

GpStatus WINGDIPAPI GdipSetPageUnit(
	GpGraphics *graphics,
	GpUnit unit
)  

FoxPro declaration:

DECLARE INTEGER GdipSetPageUnit IN gdiplus;
	INTEGER graphics,;
	INTEGER unit  

Parameters:

graphics [in] Handle to the Graphics object.

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


Return value:

Returns GpStatus value, 0 means success.


Comments:

The page unit belongs to the page transformation, which converts page coordinates to device coordinates.

See Also: GdipGetPageUnit