MarginClass
Definition
- Namespace
- DOM.Styles
- Assembly
- DOM.dll
Represents the margin (inset) values around an element, page or container.
Remarks
groups four directional values that describe the spacing between the element's content edge and its outer boundary. Values may be expressed in absolute units (points, EMU, mm, etc.) or as relative percentages when supported by the consumer. Layout and rendering code should read these values when computing content box sizes and positioning. Margin DocumentUnit Margins are used for page setup (page margins), for graphics (spacing around images/shapes), and for text wrapping (distance from text).
Examples
Constructors
Initializes a new instance with the specified values for each side. Margin
Initializes a new, empty instance. Margin
Properties
Gets or sets the bottom margin distance.
Gets or sets the left margin distance.
Gets or sets the right margin distance.
Gets or sets the top margin distance.