User Tools

Site Tools


api:dk11:activex:tatukgis_xdk11.tgis_viewernonvisual

Table of Contents

TGIS_ViewerNonVisual class

DK11 for ActiveX | TatukGIS_XDK11.TGIS_ViewerNonVisual | Classes | Methods | Properties

Encapsulation of the viewer w/o any kind of visual implementation. This viewer can be used to manipulate project files, etc.

Available also on: Delphi | .NET | Java.

Syntax

// C#
public class TGIS_ViewerNonVisual : ITGIS_ViewerNonVisual, IGIS_Viewer, IConnectionPointContainer, ITGIS_ViewerNonVisualEvents 
{
}
' VisualBasic
Public Class TGIS_ViewerNonVisual
  Implements ITGIS_ViewerNonVisual
  Implements IGIS_Viewer
  Implements IConnectionPointContainer
  Implements ITGIS_ViewerNonVisualEvents
End Class
// Oxygene
type
  TGIS_ViewerNonVisual = public class
  end;

Implements

Methods

Inherited Overrides Protected
Name Visibility Description
Add public Add a layer to the Viewer.
(Implements IGIS_Viewer.Add)
AddHierarchy public Read hierarchy and build groups with layers.
(Implements IGIS_Viewer.AddHierarchy)
AttachDelphiObj public Only for internal use of TatukGIS.
(Inherited from ITBaseObject)
(Implements ITBaseObject.AttachDelphiObj)
AttachLayer public Attach layer to the viewer by re-parenting.
(Implements IGIS_Viewer.AttachLayer)
BeginPaintInternal public Notify viewer about entering of a paint mode.
(Implements IGIS_Viewer.BeginPaintInternal)
BusyEvent public Busy event.
(Inherited from ITGIS_ViewerNonVisualEvents)
BusyPrepare public Prepare BusyEvent for long-term operation.
(Implements IGIS_Viewer.BusyPrepare)
BusyRelease public Release Busy state.
(Implements IGIS_Viewer.BusyRelease)
BusyShake public Shake Busy state.
(Implements IGIS_Viewer.BusyShake)
CenterViewport public Set viewport to the vale when _ptg will be visible on the center of the screen.
(Implements IGIS_Viewer.CenterViewport)
ChangeHash public Change hash.
(Implements IGIS_Viewer.ChangeHash)
Close public Close a project.
(Implements IGIS_Viewer.Close)
ControlAutoCenterViewport public Move the screen origin of the map by delta values.
ControlCanvasHeight public
ControlCanvasScale public
ControlCanvasWidth public
ControlClose public
ControlDrawTexture public
ControlDrawTexture_2 public
ControlFlash public
ControlHourglassHide public
ControlHourglassShake public
ControlHourglassShow public
ControlProcessMessages public
ControlRaiseEditorChangeEvent public
ControlRenderer public
ControlRepaint public
ControlSet3DMode public
ControlSystemPPI public
ControlUpdateEditor public
ControlUpdateProgressive public Progressive update.
ControlUpdateSelection public
ControlUpdateSynchronize public
ControlUpdateTopmost public
ControlUpdateWholeMap public
Delete public Delete the layer identified by a name.
(Implements IGIS_Viewer.Delete)
DelphiObj public Only for internal use of TatukGIS.
(Inherited from ITBaseObject)
(Implements ITBaseObject.DelphiObj)
Draw public Draw all layers on a current renderer.
(Implements IGIS_Viewer.Draw)
EndPaintInternal public Notify viewer about leaving of a paint mode.
(Implements IGIS_Viewer.EndPaintInternal)
ExtentChangeEvent public ExtentChange event.
(Inherited from ITGIS_ViewerNonVisualEvents)
FullExtent public Calculate the screen origin, zoom, and viewport to place the whole map in the window.
(Implements IGIS_Viewer.FullExtent)
FullExtentZoom public Calculates a zoom which places the whole map inside the window
(Implements IGIS_Viewer.FullExtentZoom)
Get public Retrieve the layer identified by a name.
(Implements IGIS_Viewer.Get)
GetGrid public Fills provided _grid array with values defined by _extent.
(Implements IGIS_Viewer.GetGrid)
GetRenderContext public Return current context object.
(Implements IGIS_Viewer.GetRenderContext)
GetViewer public Get internal viewer handle.
HourglassActive public Test is hourglass is active.
(Implements IGIS_Viewer.HourglassActive)
HourglassPrepare public Prepare Hourglass cursor for timely operation.
(Implements IGIS_Viewer.HourglassPrepare)
HourglassRelease public Release Hourglass.
(Implements IGIS_Viewer.HourglassRelease)
HourglassRestart public Restart hourglass timing used for progressive updates.
(Implements IGIS_Viewer.HourglassRestart)
HourglassShake public Shake Hourglass.
(Implements IGIS_Viewer.HourglassShake)
Interrupt public Will terminate timely operation as soon as possible.
(Implements IGIS_Viewer.Interrupt)
InvalidateEditor public Invalidate editor.
(Implements IGIS_Viewer.InvalidateEditor)
InvalidateExtent public Invalidate an extent for full map redraw
(Implements IGIS_Viewer.InvalidateExtent)
InvalidateExtent_2 public Invalidate an extent.
(Implements IGIS_Viewer.InvalidateExtent_2)
InvalidateSelection public Invalidate selection.
(Implements IGIS_Viewer.InvalidateSelection)
InvalidateTopmost public Invalidate only topmost layers.
(Implements IGIS_Viewer.InvalidateTopmost)
InvalidateWholeMap public Invalidate whole map.
(Implements IGIS_Viewer.InvalidateWholeMap)
Locate public Locate a shape that is near _ptg, but is closer than _prec distance.
(Implements IGIS_Viewer.Locate)
LocateEx public Locate shapes on layers that are near _ptg, but closer than _prec distance.
(Implements IGIS_Viewer.LocateEx)
Locate_2 public Locate a shape that is near _ptg, but is closer than _prec distance.
(Implements IGIS_Viewer.Locate_2)
Locate_3 public Locate a shape that is near _pt, but is closer than _prec distance.
(Implements IGIS_Viewer.Locate_3)
Lock public Lock viewer.
(Implements IGIS_Viewer.Lock)
MapToScreen public Converts point coordinates from map related to screen related.
(Implements IGIS_Viewer.MapToScreen)
MapToScreen3D public Converts 3D point coordinates from map related to screen related.
(Implements IGIS_Viewer.MapToScreen3D)
MapToScreenEx public Converts point coordinates from map related to screen related, but result will be in TGIS_Point.
(Implements IGIS_Viewer.MapToScreenEx)
MapToScreenRect public Converts rectangle coordinates from map related to screen related.
(Implements IGIS_Viewer.MapToScreenRect)
MarkModified public Mark viewer upon some modifications.
(Implements IGIS_Viewer.MarkModified)
MoveViewport public Move the screen origin of the map by delta values.
(Implements IGIS_Viewer.MoveViewport)
MoveViewportEx public Move the screen origin of the map by delta values.
(Implements IGIS_Viewer.MoveViewportEx)
MustSave public Check if any layer or the project file was modified by editing.
(Implements IGIS_Viewer.MustSave)
NotifySubscribers public Send notification to subscribers.
(Implements IGIS_Viewer.NotifySubscribers)
Open public Open project.
(Implements IGIS_Viewer.Open)
OpenEx public Open project file from the memory.
(Implements IGIS_Viewer.OpenEx)
OpenEx_2 public Open project file from the memory.
(Implements IGIS_Viewer.OpenEx_2)
Open_2 public Open project.
(Implements IGIS_Viewer.Open_2)
PixelsToTwips public Convert size from device dependent pixels to device independent Twips (1/1440 inch).
(Implements IGIS_Viewer.PixelsToTwips)
RaiseBusyEvent public Fire Busy event of a viewer.
(Implements IGIS_Viewer.RaiseBusyEvent)
RaiseHelpEvent public Fire Busy event of a viewer.
(Implements IGIS_Viewer.RaiseHelpEvent)
ReadConfig public Read all configuration data from project.
(Implements IGIS_Viewer.ReadConfig)
RecalcExtent public Calculates a common extent.
(Implements IGIS_Viewer.RecalcExtent)
Reposition public Reposition the map within the component window.
(Implements IGIS_Viewer.Reposition)
RereadConfig public Reread all configuration data from project and layer configuration files.
(Implements IGIS_Viewer.RereadConfig)
RestorePaintState public Restore and free the current paint state.
(Implements IGIS_Viewer.RestorePaintState)
RevertAll public Revert all layers to a file-based original.
(Implements IGIS_Viewer.RevertAll)
RotatedExtent public Compute extent (encompassing area of the extent) after the viewer rotation.
(Implements IGIS_Viewer.RotatedExtent)
RotatedPoint public Compute position of the point after the viewer rotation.
(Implements IGIS_Viewer.RotatedPoint)
RotatedPoint3D public Compute position of the 3D point after the viewer rotation.
(Implements IGIS_Viewer.RotatedPoint3D)
RotatedPoint3D_ref public Compute position of the 3D point after the viewer rotation.
(Implements IGIS_Viewer.RotatedPoint3D_ref)
SaveAll public Save all layers (parameters and data)
(Implements IGIS_Viewer.SaveAll)
SaveData public Save all changes to the data.
(Implements IGIS_Viewer.SaveData)
SaveProject public Save current project.
(Implements IGIS_Viewer.SaveProject)
SaveProjectAs public Save current project under new name.
(Implements IGIS_Viewer.SaveProjectAs)
SaveProjectAsEx public Save current project under new name.
(Implements IGIS_Viewer.SaveProjectAsEx)
SaveProjectAsEx_2 public Save current project under new name.
(Implements IGIS_Viewer.SaveProjectAsEx_2)
SaveProjectAs_2 public Save current project under new name.
(Implements IGIS_Viewer.SaveProjectAs_2)
SaveProject_2 public Save current project.
(Implements IGIS_Viewer.SaveProject_2)
ScreenToMap public Converts point coordinates from screen related to map related.
(Implements IGIS_Viewer.ScreenToMap)
ScreenToMap3D public Converts point coordinates from screen related to map related.
(Implements IGIS_Viewer.ScreenToMap3D)
ScreenToMapEx public Converts point coordinates from screen related to map related, but source will be in TGIS_Point.
(Implements IGIS_Viewer.ScreenToMapEx)
ScreenToMapRect public Converts rectangle coordinates from screen related to map related.
(Implements IGIS_Viewer.ScreenToMapRect)
SetCSByEPSG public Setup Coordinate System to a coordinate system provided by EPSG code.
(Implements IGIS_Viewer.SetCSByEPSG)
SetCSByWKT public Setup Coordinate System to a coordinate system provided by WKT string (GEOGCS or PROJCS).
(Implements IGIS_Viewer.SetCSByWKT)
SetCSByWKTFile public Setup Coordinate System to a coordinate system provided by file which contains WKT string (GEOGCS or PROJCS).
(Implements IGIS_Viewer.SetCSByWKTFile)
SetViewer public Set internal viewer handle.
SetViewport public Set viewport to a given position.
(Implements IGIS_Viewer.SetViewport)
StorePaintState public Store the current paint state.
(Implements IGIS_Viewer.StorePaintState)
Subscribe public Add provided control to the notification subscription list.
(Implements IGIS_Viewer.Subscribe)
SynchronizePaint public Wait for pending paint operation to be finalized.
(Implements IGIS_Viewer.SynchronizePaint)
TwipsToPixels public Convert the size from to device independent Twips (1/1440 inch) to device dependent pixels.
(Implements IGIS_Viewer.TwipsToPixels)
TwipsToPoints public Convert the size from to device independent Twips (1/1440 inch) to device points.
(Implements IGIS_Viewer.TwipsToPoints)
Unlock public Unlock viewer.
(Implements IGIS_Viewer.Unlock)
Unlock_2 public Unlock the viewer but do not redraw
(Implements IGIS_Viewer.Unlock_2)
UnrotatedExtent public Compute original extent of the rotated extent.
(Implements IGIS_Viewer.UnrotatedExtent)
UnrotatedPoint public Compute original position of the rotated point.
(Implements IGIS_Viewer.UnrotatedPoint)
UnrotatedPoint3D public Compute original position of the rotated 3D point.
(Implements IGIS_Viewer.UnrotatedPoint3D)
UnrotatedPoint3D_ref public Compute original position of the rotated 3D point.
(Implements IGIS_Viewer.UnrotatedPoint3D_ref)
UnSubscribe public Remove provided control from the notification subscription list.
(Implements IGIS_Viewer.UnSubscribe)
VisibleExtentChangeEvent public VisibleExtentChange event.
(Inherited from ITGIS_ViewerNonVisualEvents)
WaitForBackgroundProcesses public Wait for any pending background processes that must be finalized before app can continue.
(Implements IGIS_Viewer.WaitForBackgroundProcesses)
WriteConfig public Write all configuration data to the project or layer ini file.
(Implements IGIS_Viewer.WriteConfig)
ZoomChangeEvent public ZoomChange event.
(Inherited from ITGIS_ViewerNonVisualEvents)

Properties

Inherited Protected
Name Visibility Description
BigExtent public Map extent.
(Implements IGIS_Viewer.BigExtent)
BigExtentMargin public Map extent margin.
(Implements IGIS_Viewer.BigExtentMargin)
BusyLevel public Level of current busy state.
(Implements IGIS_Viewer.BusyLevel)
BusyText public Text related to current busy state.
(Implements IGIS_Viewer.BusyText)
Center public Center the screen based on given point.
(Implements IGIS_Viewer.Center)
CenterPtg public Point on which Viewer will be centered during Zoom.
(Implements IGIS_Viewer.CenterPtg)
Color public Background color.
(Implements IGIS_Viewer.Color)
Copyright public Legal notice and product version.
(Implements IGIS_Viewer.Copyright)
CS public Coordinate System assigned to the viewer.
(Implements IGIS_Viewer.CS)
CustomData public List of custom, user-defined data.
(Implements IGIS_Viewer.CustomData)
CustomPPI public Custom resolution in pixels-per-inch.
(Implements IGIS_Viewer.CustomPPI)
DelayedUpdate public Delayed update threshold in milliseconds.
(Inherited from IGIS_Viewer)
Editor public Editor context.
(Implements IGIS_Viewer.Editor)
Extent public Map extent.
(Implements IGIS_Viewer.Extent)
FileCopyrights public List Copyrights
(Implements IGIS_Viewer.FileCopyrights)
FontScale public Font magnifying factor in percents.
(Implements IGIS_Viewer.FontScale)
FullDrawExtent public Extent of full current/last drawing area including margin and w/o tiling.
(Implements IGIS_Viewer.FullDrawExtent)
Hierarchy public Hierarchy list.
(Implements IGIS_Viewer.Hierarchy)
IncrementalPaint public Is partial drawing to screen done in incremental mode?
(Implements IGIS_Viewer.IncrementalPaint)
InPaint public True if Viewer is busy in Paint procedure.
(Implements IGIS_Viewer.InPaint)
IsBusy public True if Viewer is busy.
(Implements IGIS_Viewer.IsBusy)
IsEmpty public True if Viewer is empty (no layers).
(Implements IGIS_Viewer.IsEmpty)
IsLocked public True if Viewer is in locked state Lock.
(Implements IGIS_Viewer.IsLocked)
IsTopmost public True if Viewer has a topmost layer.
(Implements IGIS_Viewer.IsTopmost)
Items public All layers.
(Implements IGIS_Viewer.Items)
KeepScale public True if a viewer should maintain scale upon resize.
(Inherited from IGIS_Viewer)
LabelsReg public Labels position allocator object.
(Implements IGIS_Viewer.LabelsReg)
MultiUserMode public Multiuser mode.
(Implements IGIS_Viewer.MultiUserMode)
OverlappedExtentMargin public Overlapped extent margin (in pixels).
(Implements IGIS_Viewer.OverlappedExtentMargin)
PPI public Rendering resolution in pixels-per-inch.
(Implements IGIS_Viewer.PPI)
ProgressiveUpdate public Progressive update threshold in milliseconds.
(Inherited from IGIS_Viewer)
ProjectFile public Project file itself as opened in Open procedure.
(Implements IGIS_Viewer.ProjectFile)
ProjectName public Project file name as opened in Open procedure.
(Implements IGIS_Viewer.ProjectName)
RestrictedDrag public If true, then you can not drag outside the map Extent.
(Implements IGIS_Viewer.RestrictedDrag)
RestrictedExtent public Restricted Map extent.
(Implements IGIS_Viewer.RestrictedExtent)
RotationAngle public Angle of viewer rotation in radians.
(Implements IGIS_Viewer.RotationAngle)
RotationPoint public Point of viewer rotation in map units.
(Implements IGIS_Viewer.RotationPoint)
Scale public Setting up and reading the scale factor.
(Implements IGIS_Viewer.Scale)
ScaleAsFloat public Setting up and reading the scale factor.
(Implements IGIS_Viewer.ScaleAsFloat)
ScaleAsText public Setting up and reading the scale factor as text in format '1:10000'.
(Implements IGIS_Viewer.ScaleAsText)
SelectionGisColor public Color used for selecting object.
(Implements IGIS_Viewer.SelectionGisColor)
SelectionOutlineOnly public If true then polygons will be marked only with outline not a full fill.
(Implements IGIS_Viewer.SelectionOutlineOnly)
SelectionTransparency public Transparency value for selection; if 100 SelectionGisColor will not be transparent.
(Implements IGIS_Viewer.SelectionTransparency)
SelectionWidth public Outline width of selection area (>0 in twips, <0 in pixels).
(Implements IGIS_Viewer.SelectionWidth)
SystemPPI public System resolution in pixels-per-inch.
(Implements IGIS_Viewer.SystemPPI)
TemporaryScaleInternal public Used to force rendering in a different scale then actual.
(Implements IGIS_Viewer.TemporaryScaleInternal)
TemporaryVisibleExtent public Used to force rendering labels while drawing with tiles.
(Implements IGIS_Viewer.TemporaryVisibleExtent)
UponDestroy public True if viewer is upon destruction so some operations (like screen updates) should not be performed
(Implements IGIS_Viewer.UponDestroy)
UseAnimations public True if animation upon zooming are allowed.
(Inherited from IGIS_Viewer)
UseRTree public True if RTree will be used by default upon creation of any layer.
(Implements IGIS_Viewer.UseRTree)
ViewerParent public Parent for the current IGIS_Viewer object.
(Implements IGIS_Viewer.ViewerParent)
Viewport public Setting an upper left corner position of the components window within the map.
(Implements IGIS_Viewer.Viewport)
VisibleExtent public Extent of the map that is visible in the window.
(Implements IGIS_Viewer.VisibleExtent)
Zoom public Setting up and reading the related zoom factor.
(Implements IGIS_Viewer.Zoom)
ZoomEx public Setting up and reading the absolute zoom factor.
(Implements IGIS_Viewer.ZoomEx)

2020/10/29 01:03

Page Tools