[]
Represents information about a printed page.
A PageInfo object stores the page metadata used during pagination and
printing, including the page number, total page count, page content, and page
settings. It is typically produced or consumed by PrintManager when
working with paginated worksheet content.
public class PageInfo
Public Class PageInfo
PageInfo pageInfo = new PageInfo();
pageInfo.PageNumber = 1;
pageInfo.PageCount = 3;
pageInfo.PageSettings = new PageSettings();
| Name | Description |
|---|---|
| PageInfo() |
| Name | Description |
|---|---|
| PageContent | Gets or sets the page content information for this printed page. The returned PageContentInfo describes the worksheet content that belongs to the page during pagination and printing, such as the printed range, repeated title or tail rows and columns, header visibility, and zoom factor. |
| PageCount | Gets or sets the total number of pages. This value represents the total page count stored in the current PageInfo instance. |
| PageNumber | Gets or sets the page number. Returns the page number stored in this PageInfo instance. |
| PageSettings | Returns or sets the settings of the page which will be used when this page is printed. Use this property to assign a PageSettings instance that defines page-level printing settings such as paper size, margins, headers, and footers for this PageInfo. |