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.9
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 with password. Source document file format must be specified explicitly.
Public methodAddPassword(Stream, String)
Protects document with password. Source document file format will be detected on the fly.
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 methodGetType
Gets the type of the current instance.
(Inherited from Object.)
Public methodIsPasswordSet(Stream)
Checks whether document is password protected. Source document file format will be detected on the fly.
Public methodIsPasswordSet(Stream, FileFormat)
Checks whether document is password protected. Source document file format must be specified explicitly.
Public methodJoin(ListStream)
Joins multiple documents into the one document. Document format will be detected on the fly.
Public methodJoin(ListJoinItem)
Joins multiple documents 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.
Public methodMovePage(Stream, Int32, Int32)
Moves page to a new position within document.
Public methodRemovePages(Stream, PagesOptions)
Removes pages from document. Page numbers for removing have to be specified.
Public methodRemovePages(Stream, RangeOptions)
Removes pages from document.
Public methodRemovePages(Stream, ListInt32)
Removes pages from document.
Public methodRemovePages(Stream, Int32, Int32, RangeMode)
Removes pages from document.
Public methodRemovePassword(Stream, RemovePasswordOptions)
Removes document password. Source document file format must be specified explicitly.
Public methodRemovePassword(Stream, String)
Removes document password. Source document file format will be detected on the fly.
Public methodSplit(Stream, PagesOptions)
Splits single document to multiple documents.
Public methodSplit(Stream, RangeOptions)
Splits single document to multiple documents.
Public methodSwapPages(Stream, SwapOptions)
Swaps two pages within document.
Public methodSwapPages(Stream, Int32, Int32)
Swaps two pages within document.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodTrim(Stream, PagesOptions)
Makes new document with some pages from source document.
Public methodTrim(Stream, RangeOptions)
Makes new document with some pages from source document.
Public methodUpdatePassword(Stream, UpdatePasswordOptions)
Updates existing document password. Source document file format must be specified explicitly.
Public methodUpdatePassword(Stream, String, String)
Updates existing document password. Source document file format will be detected on the fly.
See Also