[]
Represents the page borders for all pages in a section.
public class PageBorderCollection : BorderCollection, IEnumerable<Border>, IEnumerable
Gets or sets a value indicating whether page borders are displayed in front of the document text.
public bool AlwaysInFront { get; set; }
Specifies which pages the page border is printed on.
public PageBorderAppliesTo AppliesTo { get; set; }
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; }
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; }
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; }
Resets all borders of an object to default.
public override void ClearFormatting()