XpsDocumentExtensionsAllPages Method Document Toolkit Help
Retrieves all pages from specified XPS document.

Namespace: FirstFloor.Documents
Assembly: FirstFloor.Documents (in FirstFloor.Documents.dll) Version: (

public static IEnumerable<PageContent> AllPages(
	this XpsDocument document


Type: FirstFloor.DocumentsXpsDocument
The document.

Return Value

Type: IEnumerablePageContent
The pages found in the document.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type XpsDocument. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also