ImageGear v26.3 - Updated November 9, 2022
ImageGear.Core Assembly / ImageGear.Formats Namespace / ImGearFileFormats Class / SavePage Method / SavePage(ImGearPage,Stream,ImGearSavingFormats) Method
ImageGear page to save.
NET stream to write an image to.
The format to save new pages in. This is a combination of a file format and a compression (e.g., TIFF-G4).




In This Topic
SavePage(ImGearPage,Stream,ImGearSavingFormats) Method
In This Topic
Saves page to specified format.
Syntax
'Declaration
 
Public Overloads Shared Sub SavePage( _
   ByVal page As ImGearPage, _
   ByVal stream As Stream, _
   ByVal saveFormat As ImGearSavingFormats _
) 
 
'Usage
 
Dim page As ImGearPage
Dim stream As Stream
Dim saveFormat As ImGearSavingFormats
 
ImGearFileFormats.SavePage(page, stream, saveFormat)

Parameters

page
ImageGear page to save.
stream
NET stream to write an image to.
saveFormat
The format to save new pages in. This is a combination of a file format and a compression (e.g., TIFF-G4).
Remarks
Both page pixel data and page metadata are saved by this method.

Note: This method is equivalent to SavePage([ImGearPage], [Stream], -1, ImGearSavingModes.OVERWRITE, [ImGearSavingFormats], null)

See Also