Back to methods & properties
FileStart and FileSize properties
These properties set where the image data are located when the binary safearray
is specified as first parameter in GetFileDimensions and ReadImage
functions.
- FileStart
- Specifies the index of array element where the image data begins. The
default value is zero. The index value is zero-based.
- FileSize
- Specifies the size of image data, in bytes. The zero value means the whole
safearray will be processed as image file.
Example
This example sets the image data starting with array element number 5 and
with size 64Kb.
......................
Set g=CreateObject("shotgraph.image")
......................
g.FileStart=5
g.FileSize=64*1024
......................
......................