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



Gets the width of this RasterImage in pixels.

Syntax

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

Return Value

The width of this RasterImage in pixels.

Example

For an example, refer to RasterImage.

Remarks

This is the actual width of the image data scanline.

Use ImageWidth to get the width of the image taking the ViewPerspective into account. For more information refer to Accounting for View Perspective.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also