←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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Codecs Assembly