←Select platform

ViewWidth Property

Summary
Gets or sets the desired width of the viewport for rasterizing vector image files.
Syntax
C#
VB
C++
Java
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 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Codecs Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.