XFINIUM.PDF Documentation
ConvertListToTree Method



Xfinium.Pdf Namespace > PdfPageCollection Class : ConvertListToTree Method
Converts the internal pages structure from a list to a tree.
Syntax
'Declaration
 
Public Sub ConvertListToTree() 
'Usage
 
Dim instance As PdfPageCollection
 
instance.ConvertListToTree()
public void ConvertListToTree()
public:
void ConvertListToTree(); 
Remarks
By default the library stores the pages in a single list which can become very large if the document has many pages. Some PDF processors have trouble procesing such long lists, so this method transform the internal pages structure into a tree.
Note: This method should be called only once before the document is saved and only on documents creates from scratch with the library.
Requirements

Supported .NET Platforms: .NET 4.0 and higher, Windows Forms, ASP.NET, Windows Presentation Foundation 4.x, Silverlight 5, WinRT, Universal Windows Platform, Xamarin Mac, iOS & Android, Portable Class Library, .NET Core, .NET Standard


Target Platforms:Windows 10, Windows 8.1, Windows 8 , Windows 7, Windows Vista SP1 or later, Windows Server 2008, Windows Server 2008 R2

See Also

Reference

PdfPageCollection Class
PdfPageCollection Members