The Section type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| Section |
Creates a new, empty section.
|
Methods
| Name | Description | |
|---|---|---|
| Compose |
Implement this method in a derived class to generate content
dynamically.
| |
| Equals | (Inherited from Object.) | |
| Finalize |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
| GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetType |
Gets the Type of the current instance.
(Inherited from Object.) | |
| MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| Read(String) |
Read from XML file.
(Inherited from Object.) | |
| Read(XmlElement) |
Read from XML element.
(Inherited from Object.) | |
| Read(XmlReader) |
Read from XML reader.
(Inherited from Object.) | |
| ToString | (Inherited from Object.) |
Properties
| Name | Description | |
|---|---|---|
| BackgroundAreas |
Get the collection of Area objects that is associated with each page of this Section.
| |
| BleedBox |
A rectangle, expressed in points with the origin at the bottom left corner, defining the region to which the contents of the
page should be clipped when output in a production environment.
| |
| Columns |
Get or set the collection of columns on the pages of this section.
| |
| CropBox | The printed or viewed area of the page. | |
| DoNotBreak |
Get or set if this section has to be rendered on a single page.
| |
| EvenFooter |
Get or set a fixed area at the bottom of each even page of this section.
| |
| EvenHeader |
Get or set a fixed area at the top of each even page of this section.
| |
| Footer |
Get or set a fixed area at the bottom of each page of this section.
| |
| ForegroundAreas |
Get the collection of Area objects that is associated with each page of this Section.
| |
| Header |
Get or set a fixed area at the top of each page of this section.
| |
| Margin |
Get the width of the whitespace around the main content in points.
| |
| OddFooter |
Get or set a fixed area at the bottom of each odd page of this section.
| |
| OddHeader |
Get or set a fixed area at the top of each odd page of this section.
| |
| Orientation |
Page orientation in the viewer (counterclockwise).
| |
| PageSize |
Get or set the height and width of all pages in this section in points.
| |
| Paragraphs |
Returns a paragraphs object. Use this property to add new paragraphs.
| |
| RestartPageNumber |
Get or set the page number of the first page of this section.
| |
| StartOnNewPage |
Get or set if you want this section to start on a new page.
| |
| TrimBox |
A rectangle, expressed in points with the origin at the bottom left corner, defining the intended dimensions of
the finshed page after trimming. May be smaller than the bleed box for printing instructions, cut marks, or color bars.
| |
| VerticalAlignment |
Get or set the vertical alignment of the contained ParagraphCollection.
|
Events
| Name | Description | |
|---|---|---|
| EndCompose |
Occurs when the Compose phase is about to end.
| |
| EndPage |
Occurs right after the main area has been completely filled with paragraphs.
| |
| QueryPageSettings |
Occurs before a new empty page is added to the document.
| |
| StartCompose |
Occurs when the Compose phase starts.
| |
| StartPage |
Occurs right after a new empty page has been added to the document.
|