Saves document to an image.
Syntax
'Declaration
Public Shared Sub SaveDocument( _
ByVal As ImGearDocument, _
ByVal As Stream, _
ByVal As Integer, _
ByVal As ImGearSavingModes, _
ByVal As ImGearSavingFormats, _
ByVal As ImGearSaveOptions _
)
'Usage
Dim document As ImGearDocument
Dim stream As Stream
Dim startPageInFile As Integer
Dim mode As ImGearSavingModes
Dim saveFormat As ImGearSavingFormats
Dim saveOptions As ImGearSaveOptions
ImGearFileFormats.SaveDocument(document, stream, startPageInFile, mode, saveFormat, saveOptions)
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 compression (e.g., TIFF-G4).
- saveOptions
- Additional saving options such as thumbnail dimensions.
See Also