Leadtools Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.3.5
ImageWidth Property
See Also 
Leadtools Namespace > RasterImage Class : ImageWidth Property




Gets the width of this RasterImage in pixels, taking ViewPerspective into account.

Syntax

Visual Basic (Declaration) 
Public ReadOnly Property ImageWidth As Integer
Visual Basic (Usage)Copy Code
Dim instance As RasterImage
Dim value As Integer
 
value = instance.ImageWidth
C# 
public int ImageWidth {get;}
Managed Extensions for C++ 
public: __property int get_ImageWidth();
C++/CLI 
public:
property int ImageWidth {
   int get();
}

Return Value

The width of this RasterImage in pixels, taking ViewPerspective into account.

Example

For an example, refer to RasterImage.

Remarks

Use Width to get the actual width of the image data scanlines.

For more information refer to Accounting for View Perspective.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also