QPx_SetImporterOffsetAndLimit
QPx_SetImporterOffsetAndLimit(importerRef; importerRef; importerRef):error | |||
---|---|---|---|
![]() |
importerRef | Longint | Reference to a graphics importer instance |
![]() |
dataOffset | Longint | Image data offset |
![]() |
dataLimit | Longint | Image data limit |
![]() |
error | Longint | Error result |
Specify start and end of data within the image source
In most cases the image source of the importer is an entire file or BLOB. In some cases though, the image source is part of a container (file or BLOB), which makes it necessary to indicate where the data begins and where it ends.
This command lets you specify the starting offset and limit. All requests to read data are then relative to the specified offset, and are pinned to the specified limit and container size.
Related commands
QPx_GetImporterOffsetAndLimit | Get the start and end of data within the image source container |