Sets the visible extents of the current Map Window.
Visual Basic |
---|
Public Function SetViewExtent( _ ByVal x1 As Double, _ ByVal y1 As Double, _ ByVal z1 As Double, _ ByVal x2 As Double, _ ByVal y2 As Double, _ ByVal z2 As Double _ ) As Integer |
Note: When images are rendered, a single pixel of padding is applied to the top and right of the image, to ensure that map neatlines are not lost. If you are using SetViewExtent to control the coordinates of the corners of rendered images, calculating the coordinates from a desired scale and centre point, you should calculate the extent required on the assumption that the image is one pixel smaller than it will ultimately be drawn.
Available: GEO MM ME MD OD OM OV SISpy
Group:
sis.SetViewExtent (0,0,0,100,100,0)
Send comments on this topic.
Click to return to www.cadcorp.com
© Copyright 2000-2017 Computer Aided Development Corporation Limited (Cadcorp).