←Select platform

ViewWidth Property

Summary

Gets or sets the desired width of the viewport for rasterizing vector image files.

Syntax
C#
VB
Java
C++
public int ViewWidth { get; set; } 
Public Property ViewWidth As Integer 
public int getViewWidth() 
public void setViewWidth(int viewWidth) 
public: 
property int ViewWidth { 
   int get(); 
   void set (    int ); 
} 

Property Value

The width of the viewport in pixels.

Remarks

A vector image file format usually does not have a physical size. The user can specify a viewport (physical size up to which the drawing can be rendered) ViewWidth and ViewHeight. How the drawing is to be rendered inside this viewport depends on the current viewport mode set with ViewMode. Default viewport size is 640x480 pixels.

Example

For an example, refer to CodecsVectorLoadOptions.

Requirements

Target Platforms

Help Version 20.0.2019.9.19
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2019 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Codecs Assembly