DocumentHandler Class
Handler for manipulating documents.
Inheritance Hierarchy
SystemObject
  GroupDocs.Merger.HandlerDocumentHandler

Namespace: GroupDocs.Merger.Handler
Assembly: GroupDocs.Merger (in GroupDocs.Merger.dll) Version: 18.11
Syntax
public class DocumentHandler

The DocumentHandler type exposes the following members.

Constructors
  NameDescription
Public methodDocumentHandler
Initializes a new instance of the DocumentHandler class
Methods
  NameDescription
Public methodAddPassword(Stream, AddPasswordOptions)
Protects document of known format with password. Source document file format must be specified explicitly.
Public methodAddPassword(Stream, String)
Protects document of unknown format with password. Source document file format will be detected on the fly.
Public methodChangeOrientation(Stream, OrientationOptions)
Makes new document from document of known format and applies new orientation mode for specified pages.
Public methodChangeOrientation(Stream, OrientationMode, Int32)
Makes new document from document of unknown format and applis new orientation mode for specified pages.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetSupportedFormats
Get list of supported document formats.
Public methodGetType
Gets the type of the current instance.
(Inherited from Object.)
Public methodIsPasswordSet(Stream)
Checks whether document of unknown format is password protected. Source document file format will be detected on the fly.
Public methodIsPasswordSet(Stream, FileFormat)
Checks whether document of known format is password protected. Source document file format must be specified explicitly.
Public methodJoin(ListStream)
Joins multiple document streams of unknown format into resultant document. Document format will be detected on the fly.
Public methodJoin(ListJoinItem)
Joins multiple documents of known format into the one document. Each document format should be specified explicitly via JoinItem properties.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodMovePage(Stream, MoveOptions)
Moves page to a new position within document of known format.
Public methodMovePage(Stream, Int32, Int32)
Moves page to a new position within document of unknown format.
Public methodRemovePages(Stream, PagesOptions) Obsolete.
Removes pages from document. Page numbers for removing have to be specified.
Public methodRemovePages(Stream, RangeOptions) Obsolete.
Removes pages from document.
Public methodRemovePages(Stream, RemovePagesOptions)
Removes pages from document of known format.
Public methodRemovePages(Stream, ListInt32)
Removes pages from document of unknown format.
Public methodRemovePages(Stream, Int32, Int32, RangeMode)
Removes pages from document of unknown format.
Public methodRemovePassword(Stream, RemovePasswordOptions)
Removes password from document of known format. Source document file format must be specified explicitly.
Public methodRemovePassword(Stream, String)
Removes password from document of unknown format. Source document file format will be detected on the fly.
Public methodRotatePages(Stream, RotateMode)
Rotate pages in document of unknown format.
Public methodRotatePages(Stream, RotateOptions)
Rotate pages in document of known format.
Public methodSplit(Stream, PagesOptions) Obsolete.
Splits single document to multiple documents.
Public methodSplit(Stream, RangeOptions) Obsolete.
Splits single document to multiple documents.
Public methodSplit(Stream, SplitOptions)
Splits single document of known format to multiple documents.
Public methodSwapPages(Stream, SwapOptions)
Swaps two pages within document of known format.
Public methodSwapPages(Stream, Int32, Int32)
Swaps two pages within document of unknown format.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodTrim(Stream, PagesOptions) Obsolete.
Makes new document with some pages from source document.
Public methodTrim(Stream, RangeOptions) Obsolete.
Makes new document with some pages from source document.
Public methodTrim(Stream, TrimOptions)
Makes new document with some pages from source document of known format.
Public methodUpdatePassword(Stream, UpdatePasswordOptions)
Updates existing password for document of known format. Source document file format must be specified explicitly.
Public methodUpdatePassword(Stream, String, String)
Updates existing password for document of unknown format. Source document file format will be detected on the fly.
See Also