SavePage property (Main Control)

Visual Basic example
Visual C++ 4.0 example

Visual J++ example

Syntax short SavePage

Overview:  Refer to Saving a Bitmap to a File.

Remarks

Represents a page number in a multipage file. This property is used only if the iModify parameter of the Save method is SAVE_REPLACE or SAVE_INSERT. If iModify is SAVE_REPLACE, SavePage represents the number of the page to replace (the first page is page 1). If iModify is SAVE_INSERT, SavePage represents the number of the page in front of which the new page will be inserted. For example, if SavePage is 1 and iModify is SAVE_INSERT, then the page you save will become the first page in the file.

If this property is set to SAVE_REPLACE, the page is not actually replaced. The IFDs just point to the new page instead of the old page. Therefore, the file size will grow for each page "replaced" because the page being "replaced" is not deleted.

See Also

Elements:  SaveTileHeight property, SaveTileWidth property

Topics:  Raster Images: Saving Files
Raster Images: Getting and Setting File Information