←Select platform

DocumentPages Class

Summary

Represents a collection of DocumentPage objects.

Syntax
C#
VB
C++
Java
[CollectionDataContractAttribute()] 
public class DocumentPages : LeadCollection<DocumentPage> 
<CollectionDataContractAttribute()>  
Public Class DocumentPages 
   Inherits LeadCollection(Of DocumentPage) 
public [CollectionDataContractAttribute] 
   ref class DocumentPages : LeadCollection<DocumentPage^> 
public class DocumentPages extends LeadCollection<DocumentPage> 
Remarks

DocumentPages manages the pages of the document. It can be accessed through the Pages property of LEADDocument.

DocumentPages derives from LeadCollection<T> and thus can implement [System.Collections.ObjectModel.Collection1](https://msdn.microsoft.com/en-us/library/System.Collections.ObjectModel.Collection1.aspx). You can use any of the collection methods to add, remove, insert, get, set and iterate through the pages.

As well as the collection support, DocumentPages has the following:

DocumentPage instances that belong to a source document can be added to a target (virtual) document at will. This allows the user to create a document that contain pages from various other documents in any order or number desired. When such pages are added to or removed from a DocumentPages collection, the DocumentDocuments collection in the target document will be updated to contain all the various child (source) documents owning the source pages.

Example

For an example, refer to LEADDocument.

Requirements
Target Platforms
Help Version 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Document Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.