SaveOffset Method (ILEADRasterIO)

Visual Basic example

Visual C++ 5.0 example

Delphi 4 example

C++ Builder example

 

Syntax

short SaveOffset(ILEADRaster *pRaster, BSTR pszName, long iOffsetBegin, RasterFileConstants iFormat, short iBitsPerPixel, QFactorConstants iQuality, short iModify);

Overview

Refer to Saving a Bitmap to a File.

Remarks

This method is similar to the Save method with the following differences:

1.

the file can be saved starting at any file offset

2.

When saving an animated GIF, only the first bitmap in the list saved

3.

The FileSizeWritten property is updated with total file size (in bytes)

For more information, see the documentation for the Save method.

This method does not support signed data images, but only DICOM images are supported as signed data. It returns the error code ERROR_SIGNED_DATA_NOT_SUPPORTED if a signed data image, other than a DICOM image, is passed to this method.

For information on saving bitmaps that have been window leveled, refer to Saving Window-Leveled Bitmaps.

See Also

Elements

SaveWithStamp method, SaveMemory method, SaveTileHeight property, SaveTileWidth property, LoadOffset method

Topics

Raster Images: Saving Files, Raster Images: Creating and Maintaining Lists of Images

 

Saving a Region