DK for Python | tatukgis_pdk.IGIS_Viewer | Methods | Properties
| Name | Visibility | Description | |
|---|---|---|---|
| Add | public | Add a layer to the Viewer. | |
| AddHierarchy | public | Read layer hierarchy information and build hierarchy groups. | |
| AttachLayer | public | Attach layer to the viewer by re-parenting. | |
| BeginPaintInternal | public | Notify the viewer that painting is starting. | |
| 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 used to verify whether the layer order, parameters, or related viewer state has been modified. | |
| Close | public | Close the current project or layer. | |
| Delete | public | Delete the layer identified by name. | |
| Draw | public | Draw all layers on the current renderer. | |
| EndPaintInternal | public | Notify the viewer that painting has finished. | |
| FullExtent | public | Calculates the screen origin, zoom, and viewport to fit 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 | Returns the current rendering context object. | |
| HourglassActive | public | Test whether the hourglass is active. | |
| HourglassPrepare | public | Prepare the hourglass cursor for a long-running operation. | |
| HourglassRelease | public | Release the hourglass state. | |
| HourglassRestart | public | Restart hourglass timing used for progressive updates. | |
| HourglassShake | public | Refresh the hourglass state. | |
| Interrupt | public | Request interruption of a long-running 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, bool) | public | Invalidate an extent for redraw. | |
| 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, float) | public | Locates the shape nearest to _ptg that is within _prec. | |
| Locate(TGIS_Point, float, bool) | public | Locates the shape nearest to _ptg that is within _prec. | |
| Locate(TPoint, int) | 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 to batch visual updates. | |
| 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 coordinates to screen coordinates. | |
| MarkModified | public | Mark the viewer as modified. | |
| MoveViewport | public | Moves the map viewport by delta values in screen coordinates. | |
| MoveViewportEx | public | Moves the map viewport by delta values in map coordinates. | |
| MustSave | public | Check if any layer or the project file was modified by editing. | |
| NotifySubscribers | public | Send a notification to subscribed controls. | |
| Open(str) | public | Open a project or layer. | |
| Open(str, bool) | public | Open a project or layer. | |
| OpenEx(TGIS_ConfigAbstract, str) | public | Open a project or layer from an in-memory configuration. | |
| OpenEx(TGIS_ConfigAbstract, str, bool) | public | Open a project or layer from an in-memory configuration. | |
| PixelsToTwips | public | Converts a size from device-dependent pixels to device-independent twips (1/1440 inch) to keep the map device independent. | |
| PrintPdf(str) | public | Prints the current extent to a PDF (Portable Document Format) file using the default page size and default PPI. | |
| PrintPdf(str, float, float) | public | Prints the current extent to a PDF (Portable Document Format) file using the specified page size and default PPI. | |
| PrintPdf(str, float, float, int) | public | Prints the current extent to a PDF (Portable Document Format) file using the specified page size and custom PPI. | |
| PrintPdf(TStream) | public | Prints the current extent to PDF using the default page size and default PPI. | |
| PrintPdf(TStream, float, float) | public | Prints the current extent to PDF using the specified page size and default PPI. | |
| PrintPdf(TStream, float, float, int) | public | Prints the current extent to PDF using the specified page size and custom PPI. | |
| PrintSvg(str) | public | Prints the current extent to SVG (Scalable Vector Graphics) using the parent view box size and parent PPI. | |
| PrintSvg(str, float, float, int) | public | Prints the current extent to SVG (Scalable Vector Graphics). | |
| PrintSvg(TStream) | public | Prints the current extent to SVG (Scalable Vector Graphics) using the parent view box size and parent PPI. | |
| PrintSvg(TStream, float, float, int) | public | Prints the current extent to SVG (Scalable Vector Graphics). | |
| RaiseBusyEvent | public | Fire the viewer busy event. | |
| RaiseHelpEvent | public | Fire the viewer help event. | |
| ReadConfig | public | Read configuration data for the current project or layer. | |
| RecalcExtent | public | Calculates a common extent. | |
| ReParent | public | Set a new parent for the viewer. | |
| Reposition | public | Reposition the map within the component window. | |
| RereadConfig | public | Reread configuration data from the current project or layer configuration file. | |
| RestorePaintState | public | Restore and free the current paint state. | |
| RevertAll | public | Revert all layers to their file-based original state. | |
| RotatedExtent | public | Computes the extent that encompasses an extent after viewer rotation. | |
| RotatedPoint | public | Computes the position of a point after viewer rotation. | |
| RotatedPoint3D | public | Computes the position of a 3D point after viewer rotation. | |
| RotatedPoint3D_ref | public | Computes the position of the 3D point after viewer rotation. | |
| SaveAll | public | Saves all layers and the project file. | |
| SaveData | public | Saves geometry and attribute data for all layers. | |
| SaveProject | public | Save the current project. | |
| SaveProject(bool) | public | Save the current project. | |
| SaveProjectAs(str) | public | Save the current project under a new name. | |
| SaveProjectAs(str, bool) | public | Save the current project under a new name. | |
| SaveProjectAsEx(TGIS_ConfigAbstract, str) | public | Save the current project under a new name. | |
| SaveProjectAsEx(TGIS_ConfigAbstract, str, bool) | 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 coordinates to map coordinates. | |
| SetCSByEPSG | public | Sets the coordinate system from an EPSG (European Petroleum Survey Group) code. | |
| SetCSByWKT | public | Sets the coordinate system from a WKT (Well-Known Text) string containing a GEOGCS or PROJCS definition. | |
| SetCSByWKTFile | public | Sets the coordinate system from a file containing a WKT (Well-Known Text) string with a GEOGCS or PROJCS definition. | |
| SetViewport | public | Sets the viewport origin to a given position in map coordinates. | |
| StorePaintState | public | Store the current paint state. | |
| Subscribe | public | Add a 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 | Converts a size from device-independent twips (1/1440 inch) to device points for advanced font sizing. | |
| Unlock | public | Unlock the viewer and redraw it. | |
| Unlock(bool) | public | Unlock the viewer and optionally redraw it. | |
| UnrotatedExtent | public | Computes the original extent of a rotated extent. | |
| UnrotatedPoint | public | Computes the original position of a rotated point. | |
| UnrotatedPoint3D | public | Computes the original position of a rotated 3D point. | |
| UnrotatedPoint3D_ref | public | Computes the original position of a rotated 3D point. | |
| UnSubscribe | public | Remove a 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 configuration data to the project or layer INI file. | |