SaveOffset method (Main Control)
Visual Basic
example
Visual
C++ 4.0 example
Syntax short SaveOffset (BSTR pszName, long iOffsetBegin, short iFormat, short iBitsPerPixel, short iQuality, short iModify);
Overview: Refer to Saving a Bitmap to a File.
Remarks
Saves a bitmap to a file, in any supported format, starting at the specified offset. This enables you to embed an image file in another file.
This method is similar to the Save method, with the following differences:
the file can be saved starting at any file offset.
when saving an animated GIF, only the first bitmap in the list is saved.
the FileSizeWritten property is updated with the total file size, in bytes.
Support for 12 and 16-bit grayscale images is available only in the Document/Medical toolkits .
See Also
Elements: SaveWithStamp method, SaveMemory method , SaveTileHeight property, SaveTileWidth property
Topics: Raster
Images: Saving Files
Raster Images: Creating and Maintaining Lists of Images