[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.PageInfo

PageInfo Class

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.

Inheritance
PageInfo
Namespace: GrapeCity.Documents.Excel
Assembly: DS.Documents.Excel.dll
Syntax
public class PageInfo
Public Class PageInfo
Examples
PageInfo pageInfo = new PageInfo();
pageInfo.PageNumber = 1;
pageInfo.PageCount = 3;
pageInfo.PageSettings = new PageSettings();

Constructors

Name Description
PageInfo()

Properties

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.