MapWinGIS:Image Height

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

Height

Gets the height 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 GetOriginalHeight instead


VB.NET Usage

ReadOnly Property Height() As Integer

            Parameters

ReturnValue

The height of the image in pixels.

Sample Code

    Private Sub ImageHeight()
        Dim image As New MapWinGIS.Image()
        Dim height As Integer
        'Get the height of the image in pixels
        height = image.Height
    End Sub
  

VB 6 Usage
ReadOnly Property Height() As Long
            Parameters

ReturnValue

The height of the image in pixels.

Sample Code

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

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

This page has been accessed 1,510 times. This page was last modified on 27 June 2009, at 06:52.