[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.PageBorderCollection

PageBorderCollection Class

Represents the page borders for all pages in a section.

Inheritance
PageBorderCollection
Namespace: GrapeCity.Documents.Word
Assembly: DS.Documents.Word.dll
Syntax
public class PageBorderCollection : BorderCollection, IEnumerable<Border>, IEnumerable
Public Class PageBorderCollection
    Inherits BorderCollection
    Implements IEnumerable(Of Border), IEnumerable

Properties

Name Description
AlwaysInFront

Gets or sets a value indicating whether page borders are displayed in front of the document text.

AppliesTo

Specifies which pages the page border is printed on.

OffsetFrom

Gets or sets a value indicating whether a specified page border is measured from the edge of the page or from the text it surrounds.

SurroundsFooter

Gets or sets a value indicating whether a page border encompasses the document footer.

This property applies to all document sections and has effect only for sections where OffsetFrom property is equal to Text.

SurroundsHeader

Gets or sets a value indicating whether a page border encompasses the document header.

This property applies to all document sections and has effect only for sections where OffsetFrom property is equal to Text.

Methods

Name Description
ClearFormatting()

Resets all borders of an object to default.