IWxViewExporter.PixelWidth

Syntax

PixelWidth: Integer;

PixelWidth: integer;

Description

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

Comments

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

  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 correlation 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