|areaRef||Longint||QPix area reference|
|importerRef||Longint||Reference to the importer to be used by the area|
Assign a graphics importer instance to a QPix area
If the importer instance is succesfully assigned, the area takes its ownership. This means that you don't have to call QPx_FreeImporter to destroy the importer instance; it will be freed up when the area is destroyed by 4D or when another command changes the area's content.
NOTE This is a low-level command that also belongs to QPix's Graphics Importer commands.
// Assign an importer to a QPix area C_LONGINT($error) C_LONGINT(gQPixImporter) $error:=QPx_SetAreaImporter (gQPixArea;gQPixImporter) If ($error#qpx_noErr) // Handle the error End if
|QPx_GetAreaImporter||Get a reference to the graphic importer used by a QPix area|