ImageGear for Java
savePage(ImGearARTPage,ImGearStream,int,ImGearSavingModes,ImGearARTSaveType) Method
ART page with marks to save.
ImGearStream to which to save annotation marks. The savePage method works from the current stream position, so if you are intending to re-write the stream, you need to reset the stream position to the beginning.
Page number to save. First page is 1.
Saving mode.
Saving 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.

ImGearARTPageImGearARTSaveType

Saves ART marks to a stream.

Syntax

Parameters

artPage
ART page with marks to save.
stream
ImGearStream to which to save annotation marks. The savePage method works from the current stream position, so if you are intending to re-write the stream, you need to reset the stream position to the beginning.
pageNumber
Page number to save. First page is 1.
saveMode
Saving mode.
type
Saving 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.

ImGearARTPageImGearARTSaveType

See Also

Reference

ImGearART Class
ImGearART Members
Overload List

 

 


©2016. Accusoft Corporation. All Rights Reserved.

Send Feedback