RasterizeViewportWidth property (Main Control)

C++ Builder example

Delphi example

 

Builder Syntax

int RasterizeViewportWidth;

Delphi Syntax

RasterizeViewportWidth: integer;

Overview

Refer to Loading a Bitmap from a File.

Remarks

(Published property, available at design time) Sets the viewport width value that LEADTOOLS uses when loading the following Vector file formats: DXF, DWG, WMF, EMF, PCT, CGM, DRW, PLT, TIF (with a DXF saved internally) and Intergraph Vector.

A 3D file format usually doesn't have a physical size. The user can specify a viewport (physical size upto which the drawing can be rendered) by using RasterizeViewportWidth and RasterizeViewportHeight. How the drawing is to be rendered inside this viewport depends on the current viewport mode set with RasterizeViewMode.

The default for this property is 640.

See Also

Elements:

RasterizeViewportHeight property, RasterizeViewMode property

Topics:

Raster Images: Loading Files