XpsDocumentExtensionsTryParsePageAddress Method Document Toolkit Help
Parses a page number from specified uri.

Namespace: FirstFloor.Documents
Assembly: FirstFloor.Documents (in FirstFloor.Documents.dll) Version: 2.5.0.0 (2.5.11.0)
Syntax

public static bool TryParsePageAddress(
	this XpsDocument document,
	Uri uri,
	out int pageNumber
)

Parameters

document
Type: FirstFloor.DocumentsXpsDocument
The document.
uri
Type: SystemUri
The URI.
pageNumber
Type: SystemInt32
The page number.

Return Value

Type: Boolean
A value indicating whether the parse operation suceeded.

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

Reference