DocumentHandlerRemovePages Method (Stream, RemovePagesOptions)
Removes pages from document of known format.

Namespace: GroupDocs.Merger.Handler
Assembly: GroupDocs.Merger (in GroupDocs.Merger.dll) Version: 19.5
Syntax
public DocumentResult RemovePages(
	Stream documentStream,
	RemovePagesOptions removePagesOptions
)

Parameters

documentStream
Type: System.IOStream
The document stream.
removePagesOptions
Type: GroupDocs.Merger.Domain.OptionsRemovePagesOptions
The options for specifying document format and numbers of pages to be removed.

Return Value

Type: DocumentResult
Document with removed pages
See Also