IWxViewExporter.PixelWidth

Syntax

PixelWidth: Integer;

Description

The PixelWidth property determines the width of the image after export.

Comments

The size of image on export is set using the following algorithm:

  1. 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

  2. The following correlations are calculated:

  3. 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.

Example

The example of use is given in description of the IWxViewExporter.ExportToFile property

See also:

IWxViewExporter