ImageEn, unit iemio

TImageEnMIO.PrintingMaintainAR

TImageEnMIO.PrintingMaintainAR


Declaration

property PrintingMaintainAR: Boolean;


Description

Specifies whether to keep the original aspect ratio of the image when printing at a specified size.
This option applies to:
PrintImage when printing size is iesSpecifiedSize
PrintImagePos

Default: True


Example

// Print at 5" x 5" even if it stretches the image abnormally
ImageEnMView1.MIO.PrintingMaintainAR := False;
ImageEnMView1.MIO.PrintImagePos( 0, nil, 0, 0, 5, 5 );

// Print at up to 5" x 5" (reducing one dimension so that the image looks correct)
ImageEnMView1.MIO.PrintingMaintainAR := True;
ImageEnMView1.MIO.PrintImagePos( 0, nil, 0, 0, 5, 5 );