ImageGear23.Core Assembly > ImageGear.Formats Namespace > ImGearFileFormats Class > SavePage Method : SavePage(ImGearPage,Stream,Int32,ImGearSavingModes,ImGearSavingFormats,ImGearSaveOptions) Method |
'Declaration Public Overloads Shared Sub SavePage( _ ByVal page As ImGearPage, _ ByVal stream As Stream, _ ByVal pageNumber As Integer, _ ByVal mode As ImGearSavingModes, _ ByVal saveFormat As ImGearSavingFormats, _ ByVal saveOptions As ImGearSaveOptions _ )
'Usage Dim page As ImGearPage Dim stream As Stream Dim pageNumber As Integer Dim mode As ImGearSavingModes Dim saveFormat As ImGearSavingFormats Dim saveOptions As ImGearSaveOptions ImGearFileFormats.SavePage(page, stream, pageNumber, mode, saveFormat, saveOptions)
public static void SavePage( ImGearPage page, Stream stream, int pageNumber, ImGearSavingModes mode, ImGearSavingFormats saveFormat, ImGearSaveOptions saveOptions )
public: static void SavePage( ImGearPage* page, Stream* stream, int pageNumber, ImGearSavingModes mode, ImGearSavingFormats saveFormat, ImGearSaveOptions* saveOptions )
public: static void SavePage( ImGearPage^ page, Stream^ stream, int pageNumber, ImGearSavingModes mode, ImGearSavingFormats saveFormat, ImGearSaveOptions^ saveOptions )
Note: Any time SavePage is used with ImGearSavingModes.APPEND, the stream must be at the beginning of the file to be appended to.