 |
GdipSetPageUnit ..msdn Add comment W32 Constants Translate this page |
 |
 |
|
Sets the unit of measure for this Graphics handle. |
 |
 |
| Code examples: |
 |
|
|
 |
 |
| 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. |
 |
 |
| Usage: |
 |
= GdipSetPageUnit(img.graphics.graphics, 4)
|
 |
 |
| My comment: |
 |
The page unit belongs to the page transformation, which converts page coordinates to device coordinates.
See Also: GdipGetPageUnit |
 |
 |
| Word Index links for the GdipSetPageUnit : |
 |
|
|
 |
 |
| Translate this page: |
 |
|
 |
 |
| • |
 |
| Created: | 2009-09-18 10:54:53 | | Modified: | 2009-09-18 10:58:05 | Visited in last 7 days: 24 |