[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.PageMargin

PageMargin Class

Represents the page margins for all pages in a section.

Inheritance
PageMargin
Namespace: GrapeCity.Documents.Word
Assembly: DS.Documents.Word.dll
Syntax
public class PageMargin
Public Class PageMargin

Properties

Name Description
Bottom

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

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

Gutter

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

GutterPosition

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

Changing value to or from Top affects all document sections.

Header

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

Left

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

Right

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

Top

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

Methods

Name Description
ClearFormatting()

Resets page margins to default values.