[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.PageMargin

Class PageMargin

Namespace
GrapeCity.Documents.Word
Assembly
GcDocs.Word.dll

Represents the page margins for all pages in a section.

public class PageMargin
Inheritance
object
PageMargin
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()

Properties

Bottom

Gets or sets the distance (in points) between the bottom edge of the page and the bottom boundary of the body text.

public float Bottom { get; set; }

Property Value

float

Gets or sets the distance (in points) between the footer and the bottom of the page.

public float Footer { get; set; }

Property Value

float

Gutter

Gets or sets the amount of extra space (in points) added to the margin for document binding.

public float Gutter { get; set; }

Property Value

float

GutterPosition

Gets or sets the side on which the gutter appears in a document.

Changing value to or from Top affects all document sections.

public GutterPosition GutterPosition { get; set; }

Property Value

GutterPosition

Header

Gets or sets the distance (in points) between the header and the top of the page.

public float Header { get; set; }

Property Value

float

Left

Gets or sets the distance (in points) between the left edge of the page and the left boundary of the body text.

public float Left { get; set; }

Property Value

float

Right

Gets or sets the distance (in points) between the right edge of the page and the right boundary of the body text.

public float Right { get; set; }

Property Value

float

Top

Gets or sets the distance (in points) between the top edge of the page and the top boundary of the body text.

public float Top { get; set; }

Property Value

float

Methods

ClearFormatting()

Resets page margins to default values.

public void ClearFormatting()