 |
GdipGetPageUnit ..msdn Add comment W32 Constants Translate this page |
 |
 |
|
Returns an element of the Unit enumeration that indicates the unit of measure currently set for this Graphics handle. |
 |
 |
| Code examples: |
 |
|
|
 |
 |
| Declaration: |
 |
 |
GpStatus WINGDIPAPI GdipGetPageUnit(
GpGraphics *graphics,
GpUnit *unit
)
|
 |
 |
 |
| FoxPro declaration: |
 |
 |
DECLARE INTEGER GdipGetPageUnit IN gdiplus;
INTEGER graphics,;
INTEGER @unit
|
 |
 |
 |
| Parameters: |
 |
graphics
[in] Handle to the Graphics object.
unit
[out] Element of the Unit enumeration that specifies the unit of measure currently set for this Graphics handle. |
 |
 |
| Return value: |
 |
| Returns GpStatus value, 0 means success. |
 |
 |
| Usage: |
 |
nUnit=0
? GdipGetPageUnit(gdip.graphics, @nUnit), nUnit
|
 |
 |
| My comment: |
 |
Unit Enumerated Type
typedef enum {
UnitWorld = 0,
UnitDisplay = 1,
UnitPixel = 2,
UnitPoint = 3,
UnitInch = 4,
UnitDocument = 5,
UnitMillimeter = 6
} Unit;
1 Point Unit = 1/72 inch.
1 Document Unit = 1/300 inch.
See also: GdipSetPageUnit |
 |
 |
| Word Index links for the GdipGetPageUnit : |
 |
|
|
 |
 |
| Translate this page: |
 |
|
 |
 |
| • |
 |
| Created: | 2009-09-18 10:43:34 | | Modified: | 2009-09-18 10:54:10 | Visited in last 7 days: 14 |