PixelWidth: Integer;
PixelWidth: integer;
The PixelWidth property determines the width of the image after export.
The following algorithm is used to set the size of image on export:
Actual width and height of the image are calculated in accordance with the distance from uppermost left top to the lowermost right top of the shape.
The following correlation are calculated:
Calculated width and value of the PixelWidth property.
Calculated width and value of the IWxViewExporter.PixelHeight property.
In case of maximum correlation the size value is scaled to keep the image proportions.
By default the PixelWidth property is set to 0, the exported image has the calculated width.
The example of use is given in description of the IWxViewExporter.ExportToFile property.
See also: