DimensionsClass
Definition
- Namespace
- DOM.Elements.Graphics
- Assembly
- DOM.dll
Represents the width and height of a graphic element, plus optional scale factors.
Remarks
is used by images, shapes, page sizes, and other graphical elements. The base width and height are values so they can be expressed in any supported unit; the optional and provide percentage-based scaling relative to the base size. Dimensions DocumentUnit ScaleWidth ScaleHeight Scaling is applied at render time and does not change the base or values. Width Height
Examples
Constructors
Initialises a new, empty instance. Dimensions
Initialises a new instance from a width and height in a specified unit. Dimensions
Properties
Gets or sets the height of the element.
Gets or sets an optional vertical scale percentage.
Gets or sets an optional horizontal scale percentage.
Gets or sets the width of the element.