DK for Delphi | GisInterfaces.IGIS_Viewer | Methods | Properties
| Name | Visibility | Description | |
|---|---|---|---|
| Add | public | Add a layer to the Viewer. | |
| AddHierarchy | public | Read hierarchy and build groups with layers. | |
| AssignedBusyEvent | public | Reference to a busy event handler assigned to the Viewer. | |
| AssignedHelpEvent | public | Reference to a help event handler assigned to the Viewer. | |
| AttachLayer | public | Attach layer to the viewer by re-parenting. | |
| BeginPaintInternal | public | Notify viewer about entering of a paint mode. | |
| BusyPrepare | public | Prepare BusyEvent for a long-running operation. | |
| BusyRelease | public | Release the busy state. | |
| BusyShake | public | Update the busy state. | |
| CenterViewport | public | Sets the viewport so that _ptg becomes visible at the center of the screen. | |
| ChangeHash | public | Change hash. | |
| Close | public | Close a project. | |
| Delete | public | Delete the layer identified by a name. | |
| Draw | public | Draw all layers on a current renderer. | |
| EndPaintInternal | public | Notify viewer about leaving of a paint mode. | |
| FullExtent | public | Calculate the screen origin, zoom, and viewport to place the whole map in the window. | |
| FullExtentZoom | public | Calculates the zoom that fits the whole map inside the window. | |
| Get | public | Retrieve the layer identified by name. | |
| GetGrid | public | Fill the provided _grid array with values for _extent. | |
| GetRenderContext | public | Return current context object. | |
| HourglassActive | public | Test whether the hourglass is active. | |
| HourglassPrepare | public | Prepare the hourglass cursor for a long operation. | |
| HourglassRelease | public | Release Hourglass. | |
| HourglassRestart | public | Restart hourglass timing used for progressive updates. | |
| HourglassShake | public | Shake Hourglass. | |
| Interrupt | public | Will terminate timely operation as soon as possible. | |
| Interrupted | public | Test whether a pending operation must be aborted. | |
| InvalidateBasemap | public | Invalidate only basemap layers. | |
| InvalidateEditor | public | Invalidate the editor to mark the viewer for redraw after an editor change. | |
| InvalidateExtent(TGIS_Extent) | public | Invalidate an extent for a full map redraw. | |
| InvalidateExtent(TGIS_Extent; Boolean) | public | Invalidate an extent. | |
| InvalidateSelection | public | Invalidate the selection to mark the viewer for redraw after a selection change. | |
| InvalidateTopmost | public | Invalidate only topmost layers. | |
| InvalidateWholeMap | public | Invalidate whole map. | |
| Locate(TGIS_Point; Double) | public | Locates the shape nearest to _ptg that is within _prec. | |
| Locate(TGIS_Point; Double; Boolean) | public | Locates the shape nearest to _ptg that is within _prec. | |
| Locate(TPoint; Integer) | public | Locates the shape nearest to _pt that is within _prec. | |
| LocateEx | public | Locates shapes on layers near _ptg and returns the best candidate from each layer that is within _prec. | |
| Lock | public | Lock the viewer. | |
| MapToScreen | public | Converts point coordinates from map coordinates to screen coordinates. | |
| MapToScreen3D | public | Converts 3D point coordinates from map coordinates to screen coordinates. | |
| MapToScreenEx | public | Converts point coordinates from map coordinates to screen coordinates, returning the result as TGIS_Point. | |
| MapToScreenRect | public | Converts rectangle coordinates from map related to screen related. | |
| MarkModified | public | Mark viewer upon some modifications. | |
| MoveViewport | public | Move the screen origin of the map by delta values. | |
| MoveViewportEx | public | Move the screen origin of the map by delta values. | |
| MustSave | public | Check if any layer or the project file was modified by editing. | |
| NotifyPaintException | public | Transform an exception into a TGIS_Viewer.OnPaintException event. | |
| NotifySubscribers | public | Send notification to subscribers. | |
| Open(String) | public | Open a project. | |
| Open(String; Boolean) | public | Open a project. | |
| OpenAsync(String; Boolean; TGIS_AsyncCallback) | public | Open a project asynchronously. | |
| OpenAsync(String; TGIS_AsyncCallback) | public | Open a project asynchronously. | |
| OpenEx(TGIS_ConfigAbstract; String) | public | Open a project file from memory. | |
| OpenEx(TGIS_ConfigAbstract; String; Boolean) | public | Open a project file from memory. | |
| OpenExAsync(TGIS_ConfigAbstract; String; Boolean; TGIS_AsyncCallback) | public | Open a project file from memory asynchronously. | |
| OpenExAsync(TGIS_ConfigAbstract; String; TGIS_AsyncCallback) | public | Open a project file from memory asynchronously. | |
| PixelsToTwips | public | Convert size from device dependent pixels to device independent Twips (1/1440 inch). | |
| PrintPdf(String) | public | Prints the current extent to PDF using the default page size. | |
| PrintPdf(String; Single; Single) | public | Prints the current extent to PDF. | |
| PrintPdf(TStream) | public | Prints the current extent to PDF using the default page size. | |
| PrintPdf(TStream; Single; Single) | public | Prints the current extent to PDF. | |
| RaiseBusyEvent | public | Fire Busy event of a viewer. | |
| RaiseHelpEvent | public | Fire the Help event of a viewer. | |
| ReadConfig | public | Read all configuration data from the project. | |
| RecalcExtent | public | Calculates a common extent. | |
| ReParent | public | Set a new parent for the viewer. | |
| ReParentLock | public | Block reparenting. | |
| ReParentUnlock | public | Unblock reparenting. | |
| Reposition | public | Reposition the map within the component window. | |
| RereadConfig | public | Reread all configuration data from the project and layer configuration files. | |
| RestorePaintState | public | Restore and free the current paint state. | |
| RevertAll | public | Revert all layers to a file-based original. | |
| RotatedExtent | public | Compute extent (encompassing area of the extent) after the viewer rotation. | |
| RotatedPoint | public | Computes the position of a point after viewer rotation. | |
| RotatedPoint3D | public | Compute position of the 3D point after the viewer rotation. | |
| RotatedPoint3D_ref | public | Computes the position of the 3D point after viewer rotation. | |
| SaveAll | public | Save all layers (parameters and data) | |
| SaveData | public | Save all changes to the data. | |
| SaveProject | public | Save the current project. | |
| SaveProject(Boolean) | public | Save the current project. | |
| SaveProjectAs(String) | public | Save the current project under a new name. | |
| SaveProjectAs(String; Boolean) | public | Save the current project under a new name. | |
| SaveProjectAsEx(TGIS_ConfigAbstract; String) | public | Save the current project under a new name. | |
| SaveProjectAsEx(TGIS_ConfigAbstract; String; Boolean) | public | Save the current project under a new name. | |
| ScreenToMap | public | Converts point coordinates from screen coordinates to map coordinates. | |
| ScreenToMap3D | public | Converts point coordinates from screen coordinates to map coordinates. | |
| ScreenToMapEx | public | Converts point coordinates from screen coordinates to map coordinates, using TGIS_Point as the source type. | |
| ScreenToMapRect | public | Converts rectangle coordinates from screen related to map related. | |
| SetCSByEPSG | public | Sets the coordinate system from an EPSG code. | |
| SetCSByWKT | public | Sets the coordinate system from a WKT string (GEOGCS or PROJCS). | |
| SetCSByWKTFile | public | Sets the coordinate system from a file containing a WKT string (GEOGCS or PROJCS). | |
| SetViewport | public | Sets the viewport to a given position. | |
| StorePaintState | public | Store the current paint state. | |
| Subscribe | public | Add provided control to the notification subscription list. | |
| SynchronizePaint | public | Wait for a pending paint operation to finish. | |
| TwipsToPixels | public | Converts a size from device-independent twips (1/1440 inch) to device-dependent pixels to keep the map device independent. | |
| TwipsToPoints | public | Convert the size from to device independent Twips (1/1440 inch) to device points. | |
| Unlock | public | Unlock the viewer and redraw it. | |
| Unlock(Boolean) | public | Unlock the viewer and optionally redraw it. | |
| UnrotatedExtent | public | Compute original extent of the rotated extent. | |
| UnrotatedPoint | public | Compute original position of the rotated point. | |
| UnrotatedPoint3D | public | Compute original position of the rotated 3D point. | |
| UnrotatedPoint3D_ref | public | Compute original position of the rotated 3D point. | |
| UnSubscribe | public | Remove provided control from the notification subscription list. | |
| WaitForBackgroundProcesses | public | Waits for any pending background processes that must finish before the application can continue. | |
| WaitForNotBusy | public | Calls _proc when the viewer fully finishes the painting process. | |
| WriteConfig | public | Write all configuration data to the project or layer INI file. | |