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

◆ width() [1/2]

int32 xtd::drawing::size::width ( ) const
noexcept

Gets the horizontal component of this xtd::drawing::size class.

Returns
int The horizontal component of this xtd::drawing::size class, typically measured in pixels.
Remarks
The unit for the xtd::drawing::size::height and xtd::drawing::size::width of the xtd::drawing::size 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.
Examples
screen.cpp.