ImageGear for .NET
SaveDocument Method
See Also  Send Feedback
ImageGear21.Core Assembly > ImageGear.Formats Namespace > ImGearFileFormats Class : SaveDocument Method




document
ImageGear document to save.
stream
NET stream to write an image to.
startPageInFile
The number of a start page in the image file where document pages are saved.
mode
Specifies how new pages should be saved to an image; replace pages, insert pages, append pages, or overwrite the entire image.
saveFormat
The format to save new pages in. This is a combination of a file format and a compresison (e.g., TIFF-G4).
saveOptions
Additional saving options such as thumbnail dimensions.

Glossary Item Box

Saves document to an image.

Syntax

 
Visual Basic
C#
Managed Extensions for C++
C++/CLI
 
 

Parameters

document
ImageGear document to save.
stream
NET stream to write an image to.
startPageInFile
The number of a start page in the image file where document pages are saved.
mode
Specifies how new pages should be saved to an image; replace pages, insert pages, append pages, or overwrite the entire image.
saveFormat
The format to save new pages in. This is a combination of a file format and a compresison (e.g., TIFF-G4).
saveOptions
Additional saving options such as thumbnail dimensions.

Remarks

This method allows you to save the entire document in a single call. Both page pixel data and page metadata are saved. If a new image is created (or overwritten), document level metadata is saved as well, otherwise, it is ignored.

See Also

©2013. Accusoft Corporation. All Rights Reserved.