ImageGearJava Project > com.accusoft.imagegear.art Package > ImGearART Class > savePage Method : savePage(ImGearARTPage,ImGearStream,int,ImGearSavingModes,ImGearARTSaveType) Method |
This method saves annotation marks to XML stream.
Saving a multipage ART XML file with com.accusoft.imagegear.formats.ImGearSavingModes.APPEND for the 4th parameter is a special case that requires seeking to the start of the stream before the savePage call. Otherwise an attempt to save several ART pages to one XML file could result in an improperly formatted file from which only the annotations for the 1st page will be loaded, being saved. See the Sample Code below.
public static void savePage( ImGearARTPage artPage, ImGearStream stream, int pageNumber, ImGearSavingModes saveMode, ImGearARTSaveType type ) |
This method saves annotation marks to XML stream.
Saving a multipage ART XML file with com.accusoft.imagegear.formats.ImGearSavingModes.APPEND for the 4th parameter is a special case that requires seeking to the start of the stream before the savePage call. Otherwise an attempt to save several ART pages to one XML file could result in an improperly formatted file from which only the annotations for the 1st page will be loaded, being saved. See the Sample Code below.