xtd 0.2.0
Loading...
Searching...
No Matches

◆ page_unit() [2/2]

graphics & xtd::drawing::graphics::page_unit ( xtd::drawing::graphics_unit  value)

Sets or sets the unit of measure used for page coordinates in this xtd::drawing::graphics.

Parameters
valueOne of the xtd::drawing::graphics_unit values other than xtd::drawing::graphics_unit::world.
Returns
This current instance.
Exceptions
xtd::argument_exceptionxtd::drawing::graphics::page_unit is set to xtd::drawing::graphics_unit::world, which is not a physical unit.
Remarks
The graphics unit is the unit of measure used for page coordinates in this xtd::drawing::graphics.