TImageEnIO.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◼Print DialogsDefault: True
// Print at 5" x 5" even if it stretches the image abnormally
ImageEnView1.IO.PrintingMaintainAR := False;
ImageEnView1.IO.PrintImagePos( nil, 0, 0, 5, 5 );
// Print at up to 5" x 5" (reducing one dimension so that the image looks correct)
ImageEnView1.IO.PrintingMaintainAR := True;
ImageEnView1.IO.PrintImagePos( nil, 0, 0, 5, 5 );