MapWinGIS:Image XllCenter

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

XllCenter

Gets or sets the x coordinate of the center of the lower-left pixel in the image buffer. 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 GetOriginalXllCenter instead. After setting XllCenter you will need to manually re-adjust the layer extents See AdjustLayerExtents


VB.NET Usage

Property XllCenter() Double

            Parameters

ReturnValue

The x coordinate of the center of the lower-left pixel in the image.

Sample Code

    Private Sub ImageXllCenter()
        Dim image As New MapWinGIS.Image()
        Dim x As Double
        'Set the value to use for the x coordinate
        x = 100
        'Set the x coordinate of the lower-left pixel in the image
        image.XllCenter = x
        'Get the x coordinate of the lower-left pixel in the image
        x = image.XllCenter
    End Sub
  

VB 6 Usage
Property XllCenter() Double
            Parameters

ReturnValue

The x coordinate of the center of the lower-left pixel in the image.

Sample Code

    Private Sub ImageXllCenter()
        Dim image As New MapWinGIS.image
        Dim x As Double
        'Set the value to use for the x coordinate
        x = 100
        'Set the x coordinate of the lower-left pixel in the image
        image.XllCenter = x
        'Get the x coordinate of the lower-left pixel in the image
        x = image.XllCenter
    End Sub

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

This page has been accessed 2,108 times. This page was last modified on 30 November 2009, at 07:26.