'Declaration Public Overloads Shared Sub SavePage( _ ByVal page As ImGearPage, _ ByVal stream As Stream, _ ByVal pageNumber As Integer, _ ByVal saveMode As ImGearSavingModes, _ ByVal saveFormat As ImGearSavingFormats _ )
'Usage Dim page As ImGearPage Dim stream As Stream Dim pageNumber As Integer Dim saveMode As ImGearSavingModes Dim saveFormat As ImGearSavingFormats ImGearFileFormats.SavePage(page, stream, pageNumber, saveMode, saveFormat)
public static void SavePage( ImGearPage page, Stream stream, int pageNumber, ImGearSavingModes saveMode, ImGearSavingFormats saveFormat )
public: static void SavePage( ImGearPage* page, Stream* stream, int pageNumber, ImGearSavingModes saveMode, ImGearSavingFormats saveFormat )
public: static void SavePage( ImGearPage^ page, Stream^ stream, int pageNumber, ImGearSavingModes saveMode, ImGearSavingFormats saveFormat )
Parameters
- page
- ImageGear page to save.
- stream
- NET stream to write an image to.
- pageNumber
- Specifies page number in the image where to put a new page. New page can replace current page, or be inserted depending on the mode parameter.
- saveMode
- Specifies how new page should be saved to an image; replace page, insert page, append page, or overwrite the entire image.Any time SavePage is used with ImGearSavingModes.APPEND, the stream must be at the beginning of the file to be appended to.
- saveFormat
- The format to save new pages in. This is a combination of a file format and a compresison (e.g., TIFF-G4).