MapWinGIS:Image Width

This is a back-up of the WIKI.
Not all links might work
We're working on a new wiki.

Main Page | Recent changes | View source | Page history | Log in / create account |

Printable version | Disclaimers | Privacy policy

Width

Gets the width of the image buffer in pixels. Note that the image buffer has the same dimensions as the original image for bitmap files, but for all other image formats, the image buffer dimensions vary according to the portion of the image and resolution that is sampled. Therefore please consider using GetOriginalWidth instead


VB.NET Usage

ReadOnly Property Width() As Integer

            Parameters

ReturnValue

The width of the image in pixels.

Sample Code

    Private Sub ImageWidth()
        Dim image As New MapWinGIS.Image()
        Dim width As Integer
        'Get the width of the image in pixels
        width = image.Width
    End Sub
  

VB 6 Usage
ReadOnly Property Width() As Long
            Parameters

ReturnValue

The width of the image in pixels.

Sample Code

    Private Sub ImageWidth()
        Dim image As New MapWinGIS.image
        Dim width As Long
        'Get the width of the image in pixels
        width = image.width
    End Sub

Retrieved from "http://mapwindow.org/wiki/index.php/MapWinGIS:Image_Width"

This page has been accessed 1,406 times. This page was last modified on 26 June 2009, at 19:18.