Parses a page number from specified uri.

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

Syntax

C#
public static bool TryParsePageAddress(
	this XpsDocument document,
	Uri uri,
	out int pageNumber
)
Visual Basic
<ExtensionAttribute> _
Public Shared Function TryParsePageAddress ( _
	document As XpsDocument, _
	uri As Uri, _
	<OutAttribute> ByRef pageNumber As Integer _
) As Boolean
Visual C++
[ExtensionAttribute]
public:
static bool TryParsePageAddress(
	XpsDocument^ document, 
	Uri^ uri, 
	[OutAttribute] int% pageNumber
)

Parameters

document
Type: FirstFloor.Documents..::..XpsDocument
The document.
uri
Type: System..::..Uri
The URI.
pageNumber
Type: System..::..Int32%
The page number.

Return Value

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 or .

See Also