[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.PageBorderCollection

Class PageBorderCollection

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

Represents the page borders for all pages in a section.

public class PageBorderCollection : BorderCollection, IEnumerable<Border>, IEnumerable
Inheritance
object
PageBorderCollection
Implements
System.Collections.Generic.IEnumerable<T><Border>
System.Collections.IEnumerable
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()

Properties

AlwaysInFront

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

public bool AlwaysInFront { get; set; }

Property Value

bool

AppliesTo

Specifies which pages the page border is printed on.

public PageBorderAppliesTo AppliesTo { get; set; }

Property Value

PageBorderAppliesTo

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.

public PageBorderOffsetFrom OffsetFrom { get; set; }

Property Value

PageBorderOffsetFrom

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.

public bool SurroundsFooter { get; set; }

Property Value

bool

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.

public bool SurroundsHeader { get; set; }

Property Value

bool

Methods

ClearFormatting()

Resets all borders of an object to default.

public override void ClearFormatting()