DocumentHandlerSwapPages Method (Stream, Int32, Int32)
Swaps two pages within document of unknown format.

Namespace: GroupDocs.Merger.Handler
Assembly: GroupDocs.Merger (in GroupDocs.Merger.dll) Version: 19.7
Syntax
public DocumentResult SwapPages(
	Stream documentStream,
	int firstPageNumber,
	int secondPageNumber
)

Parameters

documentStream
Type: System.IOStream
The document stream.
firstPageNumber
Type: SystemInt32
The first page to swap.
secondPageNumber
Type: SystemInt32
The second page to swap.

Return Value

Type: DocumentResult
Document.
See Also