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

◆ get_bounds()

xtd::drawing::rectangle_f xtd::drawing::image::get_bounds ( xtd::drawing::graphics_unit  page_unit) const
noexcept

Gets the bounds of the image in the specified unit.

Parameters
page_unitOne of the xtd::drawing::graphics_unit values indicating the unit of measure for the bounding rectangle.
Returns
The xtd::drawing::rectangle_f that represents the bounds of the image, in the specified unit.