Look at SetOption for details.
function ImSetOption(OptionId: LongInt; Value: LongInt): Boolean; cdecl;
ImagingExport (at line 180)