ImageEn, unit iexBitmaps

TIOParams.DCX_ImageIndex

TIOParams.DCX_ImageIndex


Declaration

property DCX_ImageIndex: Integer;


Description

The index (zero-based) of the current page of the loaded DCX image. You can also use Seek to load/navigate images within the loaded file.

Note: You can use ImageIndex for generic access to the image index (not specific to an image format).


See Also

- ImageCount
- Seek
- EnumDCXIm


Examples

// Load the second page of 'input.dcx'
ImageEnView1.IO.Params.DCX_ImageIndex := 1;
ImageEnView1.IO.LoadFromFile('C:\input.dcx');

// Print all pages of a DCX image
Printer.Title := 'DCX Frames';
Printer.BeginDoc();
for I := 0 to ImageEnView1.IO.Params.ImageCount - 1 do
begin
  ImageEnView1.IO.Params.DCX_ImageIndex := I;
  ImageEnView1.IO.LoadFromFile('C:\input.dcx');
  ImageEnView1.IO.PrintImage();
end;
Printer.EndDoc();