SelectActivePage

XpsDocument.SelectActivePage method

Selects an active document page for editing.

public XpsPage SelectActivePage(int pageNumber)
Parameter Type Description
pageNumber Int32 A page number.

Return Value

XpsPage instance for active page.

Exceptions

exception condition
ArgumentException Thrown when pageNumber is out of bounds.

See Also