User Tools

Site Tools


api:dk11:delphi:gisviewer.tgis_viewer_methods

TGIS_Viewer methods

Methods

Inherited Overrides Protected
Name Visibility Description
Add public Add a layer to the Viewer.
(Implements IGIS_Viewer.Add)
AddHierarchy public Read hierarchy information and build hierarchy groups with layers.
(Implements IGIS_Viewer.AddHierarchy)
AddProxy public
AssignedBusyEvent public Reference to a busy event handler assigned to the Viewer.
(Implements IGIS_Viewer.AssignedBusyEvent)
AssignedHelpEvent public Reference to a help event handler assigned to the Viewer.
(Implements IGIS_Viewer.AssignedHelpEvent)
AttachLayer public Attach layer to the viewer by re-parenting.
(Implements IGIS_Viewer.AttachLayer)
BeginPaintInternal public Notify the viewer that painting is starting.
(Implements IGIS_Viewer.BeginPaintInternal)
BusyPrepare public Prepare BusyEvent for a long-running operation.
(Implements IGIS_Viewer.BusyPrepare)
BusyRelease public Release the busy state.
(Implements IGIS_Viewer.BusyRelease)
BusyShake public Update the busy state.
(Implements IGIS_Viewer.BusyShake)
CenterViewport public Sets the viewport so that _ptg becomes visible at the center of the screen.
(Implements IGIS_Viewer.CenterViewport)
ChangeHash public Change hash used to verify whether the layer order, parameters, or related viewer state has been modified.
(Implements IGIS_Viewer.ChangeHash)
Close public Close the current project.
(Implements IGIS_Viewer.Close)
Delete public Delete the layer identified by a name.
(Implements IGIS_Viewer.Delete)
doCreate protected Perform internal viewer initialization for the constructor.
Draw public Draw all layers on the current renderer.
(Implements IGIS_Viewer.Draw)
EndPaintInternal public Notify the viewer that painting has finished.
(Implements IGIS_Viewer.EndPaintInternal)
FullExtent public Calculate the screen origin, zoom, and viewport to place the whole map in the window.
(Implements IGIS_Viewer.FullExtent)
FullExtentZoom public Calculates the zoom that fits the whole map inside the window.
(Implements IGIS_Viewer.FullExtentZoom)
Get public Retrieve the layer identified by name.
(Implements IGIS_Viewer.Get)
GetGrid public Fill the provided _grid array with values for _extent.
(Implements IGIS_Viewer.GetGrid)
GetRenderContext public Returns the current rendering context object.
(Implements IGIS_Viewer.GetRenderContext)
HourglassActive public Test whether the hourglass is active.
(Implements IGIS_Viewer.HourglassActive)
HourglassPrepare public Prepare the hourglass cursor for a long operation.
(Implements IGIS_Viewer.HourglassPrepare)
HourglassRelease public Release the hourglass state.
(Implements IGIS_Viewer.HourglassRelease)
HourglassRestart public Restart hourglass timing used for progressive updates.
(Implements IGIS_Viewer.HourglassRestart)
HourglassShake public Refresh the hourglass state.
(Implements IGIS_Viewer.HourglassShake)
Interrupt public Request interruption of a long-running operation as soon as possible.
(Implements IGIS_Viewer.Interrupt)
Interrupted public Test whether a pending operation must be aborted.
(Implements IGIS_Viewer.Interrupted)
InvalidateBasemap public Invalidate only basemap layers.
(Implements IGIS_Viewer.InvalidateBasemap)
InvalidateEditor public Invalidate the editor to mark the viewer for redraw after an editor change.
(Implements IGIS_Viewer.InvalidateEditor)
InvalidateExtent(TGIS_Extent) public Invalidate an extent for a full map redraw.
(Implements IGIS_Viewer.InvalidateExtent)
InvalidateExtent(TGIS_Extent; Boolean) public Invalidate an extent.
(Implements IGIS_Viewer.InvalidateExtent)
InvalidateSelection public Invalidate the selection to mark the viewer for redraw after a selection change.
(Implements IGIS_Viewer.InvalidateSelection)
InvalidateTopmost public Invalidate only topmost layers.
(Implements IGIS_Viewer.InvalidateTopmost)
InvalidateWholeMap public Invalidate whole map.
(Implements IGIS_Viewer.InvalidateWholeMap)
Locate(TGIS_Point; Double) public Locates the shape nearest to _ptg that is within _prec.
(Implements IGIS_Viewer.Locate)
Locate(TGIS_Point; Double; Boolean) public Locates the shape nearest to _ptg that is within _prec.
(Implements IGIS_Viewer.Locate)
Locate(TPoint; Integer) public Locates the shape nearest to _pt that is within _prec.
(Implements IGIS_Viewer.Locate)
LocateEx public Locates shapes on layers near _ptg and returns the best candidate from each layer that is within _prec.
(Implements IGIS_Viewer.LocateEx)
Lock public Lock the viewer.
(Implements IGIS_Viewer.Lock)
MapToScreen public Converts point coordinates from map coordinates to screen coordinates.
(Implements IGIS_Viewer.MapToScreen)
MapToScreen3D public Converts 3D point coordinates from map coordinates to screen coordinates.
(Implements IGIS_Viewer.MapToScreen3D)
MapToScreenEx public Converts point coordinates from map coordinates to screen coordinates, returning the result as TGIS_Point.
(Implements IGIS_Viewer.MapToScreenEx)
MapToScreenRect public Converts rectangle coordinates from map coordinates to screen coordinates.
(Implements IGIS_Viewer.MapToScreenRect)
MarkModified public Mark viewer upon some modifications.
(Implements IGIS_Viewer.MarkModified)
MoveViewport public Moves the map viewport by delta values in screen coordinates.
(Implements IGIS_Viewer.MoveViewport)
MoveViewportEx public Moves the map viewport by delta values in map coordinates.
(Implements IGIS_Viewer.MoveViewportEx)
MustSave public Check if any layer or the project file was modified by editing.
(Implements IGIS_Viewer.MustSave)
NotifyPaintException public Transform an exception into a TGIS_Viewer.OnPaintException event.
(Implements IGIS_Viewer.NotifyPaintException)
NotifySubscribers public Send a notification to subscribed controls.
(Implements IGIS_Viewer.NotifySubscribers)
Open(String) public Open a project.
(Implements IGIS_Viewer.Open)
Open(String; Boolean) public Open a project.
(Implements IGIS_Viewer.Open)
OpenAsync(String; Boolean; TGIS_AsyncCallback) public Open a project asynchronously.
(Implements IGIS_Viewer.OpenAsync)
OpenAsync(String; TGIS_AsyncCallback) public Open a project asynchronously.
(Implements IGIS_Viewer.OpenAsync)
OpenEx(TGIS_ConfigAbstract; String) public Open a project file from memory.
(Implements IGIS_Viewer.OpenEx)
OpenEx(TGIS_ConfigAbstract; String; Boolean) public Open a project file from memory.
(Implements IGIS_Viewer.OpenEx)
OpenExAsync(TGIS_ConfigAbstract; String; Boolean; TGIS_AsyncCallback) public Open a project file from memory asynchronously.
(Implements IGIS_Viewer.OpenExAsync)
OpenExAsync(TGIS_ConfigAbstract; String; TGIS_AsyncCallback) public Open a project file from memory asynchronously.
(Implements IGIS_Viewer.OpenExAsync)
PixelsToTwips public Converts a size from device-dependent pixels to device-independent twips (1/1440 inch) to keep the map device independent.
(Implements IGIS_Viewer.PixelsToTwips)
PrintPdf(String) public Prints the current extent to PDF using the default page size.
(Implements IGIS_Viewer.PrintPdf)
PrintPdf(String; Single; Single) public Prints the current extent to PDF.
(Implements IGIS_Viewer.PrintPdf)
PrintPdf(TStream) public Prints the current extent to PDF using the default page size.
(Implements IGIS_Viewer.PrintPdf)
PrintPdf(TStream; Single; Single) public Prints the current extent to PDF.
(Implements IGIS_Viewer.PrintPdf)
PrintSvg(String) public Prints the current extent to SVG (Scalable Vector Graphics) using the parent view box size and parent PPI.
(Implements IGIS_Viewer.PrintSvg)
PrintSvg(String; Single; Single; Integer) public Prints the current extent to SVG (Scalable Vector Graphics).
(Implements IGIS_Viewer.PrintSvg)
PrintSvg(TStream) public Prints the current extent to SVG (Scalable Vector Graphics) using the parent view box size and parent PPI.
(Implements IGIS_Viewer.PrintSvg)
PrintSvg(TStream; Single; Single; Integer) public Prints the current extent to SVG (Scalable Vector Graphics).
(Implements IGIS_Viewer.PrintSvg)
RaiseBusyEvent public Fire the viewer busy event.
(Implements IGIS_Viewer.RaiseBusyEvent)
RaiseHelpEvent public Fire the viewer help event.
(Implements IGIS_Viewer.RaiseHelpEvent)
ReadConfig public Read all configuration data from the project.
(Implements IGIS_Viewer.ReadConfig)
RecalcExtent public Calculates a common extent.
(Implements IGIS_Viewer.RecalcExtent)
ReParent public Set a new parent for the viewer.
(Implements IGIS_Viewer.ReParent)
ReParentLock public Block reparenting.
(Implements IGIS_Viewer.ReParentLock)
ReParentUnlock public Unblock reparenting.
(Implements IGIS_Viewer.ReParentUnlock)
Reposition public Reposition the map within the component window.
(Implements IGIS_Viewer.Reposition)
RereadConfig public Reread all configuration data from the project and layer configuration files.
(Implements IGIS_Viewer.RereadConfig)
ResetPPI public Reset cached PPI values so viewer PPI can be recalculated.
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 Computes the extent that encompasses an extent after viewer rotation.
(Implements IGIS_Viewer.RotatedExtent)
RotatedPoint public Computes the position of a point after viewer rotation.
(Implements IGIS_Viewer.RotatedPoint)
RotatedPoint3D public Computes the position of a 3D point after viewer rotation.
(Implements IGIS_Viewer.RotatedPoint3D)
RotatedPoint3D_ref public Computes the position of the 3D point after 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 the current project.
(Implements IGIS_Viewer.SaveProject)
SaveProject(Boolean) public Save the current project.
(Implements IGIS_Viewer.SaveProject)
SaveProjectAs(String) public Save the current project under a new name.
(Implements IGIS_Viewer.SaveProjectAs)
SaveProjectAs(String; Boolean) public Save the current project under a new name.
(Implements IGIS_Viewer.SaveProjectAs)
SaveProjectAsEx(TGIS_ConfigAbstract; String) public Save the current project under a new name.
(Implements IGIS_Viewer.SaveProjectAsEx)
SaveProjectAsEx(TGIS_ConfigAbstract; String; Boolean) public Save the current project under a new name.
(Implements IGIS_Viewer.SaveProjectAsEx)
ScreenToMap public Converts point coordinates from screen coordinates to map coordinates.
(Implements IGIS_Viewer.ScreenToMap)
ScreenToMap3D public Converts point coordinates from screen coordinates to map coordinates.
(Implements IGIS_Viewer.ScreenToMap3D)
ScreenToMapEx public Converts point coordinates from screen coordinates to map coordinates, using TGIS_Point as the source type.
(Implements IGIS_Viewer.ScreenToMapEx)
ScreenToMapRect(Integer; Integer; Integer; Integer) public
ScreenToMapRect(TRect) public Converts rectangle coordinates from screen coordinates to map coordinates.
(Implements IGIS_Viewer.ScreenToMapRect)
SetCSByEPSG public Sets the coordinate system from an EPSG (European Petroleum Survey Group) code.
(Implements IGIS_Viewer.SetCSByEPSG)
SetCSByWKT public Sets the coordinate system from a WKT (Well-Known Text) string containing a GEOGCS or PROJCS definition.
(Implements IGIS_Viewer.SetCSByWKT)
SetCSByWKTFile public Sets the coordinate system from a file containing a WKT (Well-Known Text) string with a GEOGCS or PROJCS definition.
(Implements IGIS_Viewer.SetCSByWKTFile)
SetViewport public Sets the viewport origin to a given position in map coordinates.
(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 a pending paint operation to finish.
(Implements IGIS_Viewer.SynchronizePaint)
TwipsToPixels public Converts a size from device-independent twips (1/1440 inch) to device-dependent pixels to keep the map device independent.
(Implements IGIS_Viewer.TwipsToPixels)
TwipsToPoints public Converts a size from device-independent twips (1/1440 inch) to device points for advanced font sizing.
(Implements IGIS_Viewer.TwipsToPoints)
Unlock public Unlock the viewer and redraw it.
(Implements IGIS_Viewer.Unlock)
Unlock(Boolean) public Unlock the viewer and optionally redraw it.
(Implements IGIS_Viewer.Unlock)
UnrotatedExtent public Computes the original extent of a rotated extent.
(Implements IGIS_Viewer.UnrotatedExtent)
UnrotatedPoint public Computes the original position of a rotated point.
(Implements IGIS_Viewer.UnrotatedPoint)
UnrotatedPoint3D public Computes the original position of a rotated 3D point.
(Implements IGIS_Viewer.UnrotatedPoint3D)
UnrotatedPoint3D_ref public Computes the original position of a rotated 3D point.
(Implements IGIS_Viewer.UnrotatedPoint3D_ref)
UnSubscribe public Remove provided control from the notification subscription list.
(Implements IGIS_Viewer.UnSubscribe)
WaitForBackgroundProcesses public Waits for any pending background processes that must finish before the application can continue.
(Implements IGIS_Viewer.WaitForBackgroundProcesses)
WaitForNotBusy public Calls _proc when the viewer fully finishes the painting process.
(Implements IGIS_Viewer.WaitForNotBusy)
WriteConfig public Write all configuration data to the project or layer INI file.
(Implements IGIS_Viewer.WriteConfig)

2026/08/30 02:10

Page Tools