PixelWidth: Integer;
The PixelWidth property determines the width of the image after export.
The size of image on export is set using the following algorithm:
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 correlations 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: