Viewing Methods

The following methods offer control of the view in a Map Window or 3D Window.


ClearBackgroundCache  
Clears the specified extent of the background cache.
ClearBackgroundSwd  
Clears the current background SWD.
CreateDrapeBitmap  
Creates a named Bitmap item from the current view, which is suitable for draping in 3D.
DefineNolView  
Defines a named view from the view in the current window.
DrapeBitmap  
Drapes a bitmap.
Get3DEye  
Gets the position of the Eye in a 3D window.
Get3DLook  
Gets the position looked towards in a 3D window.
GetDatasetExtent  
Gets the extents of all of the items in a dataset.
GetDisplayExtent  
Gets the padded visible extents of the current window.
GetDrawExtent  
Returns the 'draw' extents of the current open item, e.g. including the extents of a symbol on a Point item.
GetPrjScaleAtCentre  
Gets the scale at the centre of a named coordinate reference system.
GetShapeExtent  
Gets the extents of a named symbol.
GetViewAngle  
Gets the current view angle.
GetViewExtent  
Gets the visible extents of the current window.
GetViewPos  
Gets the position in the current view from a position and size in pixels.
GetViewPosEx  
Gets the position in the current view from a position and size in pixels, as a comma-separated string.
GetViewPrj  
Gets a copy of the view coordinate reference system.
LoadBackgroundSwd  
Loads a new background SWD.
RecallNolView  
Recalls a named view from a Named Object Library.
Redraw  
Redraws a window, or windows.
RedrawExtent  
Redraws part of a window, or windows.
Render  
Renders the current view into an HTML stream.
RenderExtent{SisMimeData}  
Renders the specified view into an image.
RenderTile{SisMimeData}  
Renders and caches the specified tile at the specified scale level into an image.
ScrollView  
Scrolls the current window by a number of pixels.
Set3DView  
Sets the eye and look position in a 3D view.
SetDefaultPrj  
Sets the default coordinate reference system.
SetGazetteerView  
Finds and zooms to a location using an Add-in Gazetteer.
SetViewAngle  
Sets the current view angle.
SetViewExtent  
Sets the visible extents of the current window.
SetViewHome  
Sets the "home" view of a Map Window.
SetViewPrj  
Sets the coordinate reference system of the current window's view.
ZoomExtent  
Zooms the view to the extents of all of the items in all of the visible, hittable, and editable overlays.
ZoomView  
Zooms the current window by a scale factor.

Send comments on this topic.

Click to return to www.cadcorp.com

© Copyright 2000-2017 Computer Aided Development Corporation Limited (Cadcorp).