[]
Represents the page borders for all pages in a section.
public class PageBorderCollection : BorderCollection, IEnumerable<Border>, IEnumerable
Public Class PageBorderCollection
Inherits BorderCollection
Implements IEnumerable(Of Border), IEnumerable
| 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. |
| Name | Description |
|---|---|
| ClearFormatting() | Resets all borders of an object to default. |