VDocs.NET
Back to DOM

DOM.Styles.Margin

Namespace: DOM.Styles

Represents the margin (inset) values around an element, page or container.

groups four directionalvalues 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.

4 members

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.

VDocs.NET
The .NET Word Document Library

Generate Word
documents.
Not XML.

Create professional documents in .NET without the complexity of OpenXML or Word Interop.

C#VB.NET
var doc = new WordDocument();

doc.AddParagraph()
   .AddText("Invoice")
   .SetHeading(HeadingLevel.Title);

doc.Save("invoice.docx");

Sign In

Welcome back. Please sign in to your account.

Forgot password?
or
Create an account

By signing in, you agree to our Terms of Service and Privacy Policy.