C# Класс Aspose.Words.Examples.CSharp.Loading_Saving.DocumentPageSplitter

Splits a document into multiple documents, one per page.
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание

Открытые методы

Метод Описание
DocumentPageSplitter ( LayoutCollector collector ) : System

Initializes new instance of this class. This method splits the document into sections so that each page Begins and ends at a section boundary. It is recommended not to modify the document afterwards.

GetDocumentOfPage ( int pageIndex ) : Document

Gets the document of a page.

GetDocumentOfPageRange ( int startIndex, int endIndex ) : Document

Gets the document of a page range.

Описание методов

DocumentPageSplitter() публичный Метод

Initializes new instance of this class. This method splits the document into sections so that each page Begins and ends at a section boundary. It is recommended not to modify the document afterwards.
public DocumentPageSplitter ( LayoutCollector collector ) : System
collector LayoutCollector A collector instance which has layout model records for the document.
Результат System

GetDocumentOfPage() публичный Метод

Gets the document of a page.
public GetDocumentOfPage ( int pageIndex ) : Document
pageIndex int 1-based index of a page.
Результат Document

GetDocumentOfPageRange() публичный Метод

Gets the document of a page range.
public GetDocumentOfPageRange ( int startIndex, int endIndex ) : Document
startIndex int 1-based index of the start page.
endIndex int 1-based index of the end page.
Результат Document