Click or drag to resize

TiffDocument Class

The TiffDocument class is used to represent an entire TIFF file in a way that makes it convenient to manipulate the pages of the document. Pages can be reordered, inserted, added, and removed. The final document can then be saved to a new file. TiffDocument keeps as little in memory at one time as possible.
Inheritance Hierarchy
SystemObject
  Atalasoft.Imaging.Codec.TiffTiffDocument

Namespace:  Atalasoft.Imaging.Codec.Tiff
Assembly:  Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.0.0.0.0.297 (.NET 4.5.2, x86)
Syntax
public class TiffDocument

The TiffDocument type exposes the following members.

Constructors
  NameDescription
Public methodTiffDocument
Constructs a new empty TiffDocument.
Public methodTiffDocument(Stream)
Constructs a new TiffDocument class, populated the Pages property with the contents of the given stream.
Public methodTiffDocument(String)
Constructs a new TiffDocument class, populated the Pages property with the contents of the given file.
Public methodTiffDocument(Stream, Boolean)
Constructs a new TiffDocument class, populated the Pages property with the contents of the given stream.
Public methodTiffDocument(String, Boolean)
Constructs a new TiffDocument class, populated the Pages property with the contents of the given file.
Top
Properties
  NameDescription
Public propertyPages
A collection of TiffPage objects that represent the contents of the Tiff file.
Top
Methods
  NameDescription
Public methodStatic memberCombine(Stream, Stream)
Combines a set of TIFF Streams into a single output TIFF Stream
Public methodStatic memberCombine(Stream, String)
Combines a set of TIFF files into a single output TIFF Stream
Public methodStatic memberCombine(String, String)
Combines a set of TIFF files into a single output TIFF file
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 the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSave(Stream)
Saves the contents of this TiffDocument into a new stream.
Public methodSave(String)
Saves every TiffPage within the TiffDocument object into a new TIFF file.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodValidOutputStream
Test a stream to see if it can be used as an output stream for this TiffDocument.
Top
Remarks
When saving, TiffDocument does not recompress image data.
See Also