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

◆ width() [2/2]

void xtd::drawing::size_f::width ( float  value)
noexcept

Sets the horizontal component of this xtd::drawing::size_f class.

Parameters
valueThe horizontal component of this xtd::drawing::size_f class, typically measured in pixels.
Remarks
The unit for the xtd::drawing::size_f::height and xtd::drawing::size_f::width of the xtd::drawing::size_f class depend on the xtd::drawing::graphics::page_unit and xtd::drawing::graphics::page_scale settings for the xtd::drawing::graphics object that is used to draw.