User Tools

Site Tools


api:dk11:activex:tatukgis_xdk11.tgis_layer

TGIS_Layer class

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

General layer class. Must be derived to provide file access.

Available also on: Delphi | .NET | Java | Python.

Syntax

// C#
public class TGIS_Layer : ITGIS_Layer, IConnectionPointContainer, ITGIS_LayerEvents 
{
}
' VisualBasic
Public Class TGIS_Layer
  Implements ITGIS_Layer
  Implements IConnectionPointContainer
  Implements ITGIS_LayerEvents
End Class
// Oxygene
type
  TGIS_Layer = public class
  end;

Implements

ITGIS_Layer IConnectionPointContainer ITGIS_LayerEvents

Methods

Inherited Overrides Protected
Name Visibility Description
Alive public Makes a layer non-dormant.
ApplyAutoStyle public Applies auto-styling to the layer.
ApplyCuttingPolygon public Sets a cutting polygon for a layer.
AttachDelphiObj public Only for internal use of TatukGIS.
(Inherited from ITBaseObject)
BusyEvent public
(Inherited from ITGIS_LayerEvents)
ChangeHash public Changes the hash for the purpose of verifying layer's modifications.
ClearModified public Sets IsModified flag to false for a layer and its sublayers.
DelphiObj public Only for internal use of TatukGIS.
(Inherited from ITBaseObject)
Dormant public Makes a layer dormant.
DormantGain public Calculates the approximate gain (in Megabytes) which can be achieved by releasing memory by calling Dormant method.
Draw public Draws a layer.
DrawEx public Draws a layer within a defined extent.
DrawFlash public Draws a flash.
DrawSelected public Draws only the selected item(s) on layer.
DrawSelectedEx public Draws only the selected item(s) on layer that are within a defined extent.
ForEachSubLayer public Returns in callback event the layer and all sublayers belonging to it.
GetAvailableLayers public Gets a list of layers available in storage.
GetSubLayer public Retrieve the layer identified by a name.
HourglassShake public Notifies of busy state using an hourglass.
IsGrid public Checks if the layer type is grid.
IsPixel public Checks if the layer type is pixel.
IsSupported public Checks if the operation is supported by the layer.
IsVector public Checks if the layer type is vector.
IsVector3D public Checks if the layer type is vector 3D.
IsVisible public Checks if the layer is visible in a defined extent and current params.
Lock public Locks layer in burst-mode operation.
Move public Moves a layer up or down in the viewer zorder list.
MoveEx public Moves a layer up or down in the viewer zorder list (only visible layers).
MustCalculateStatistics public Verifies if all statistics required to properly render the layer are available.
MustReproject public Checks if the layer must be reprojected.
MustSave public Checks if the layer was modified by editing.
Open public Opens the layer.
Paint public Draws the layer or fires PaintLayer event (if defined).
PaintLayerEvent public
(Inherited from ITGIS_LayerEvents)
PasswordEvent public
(Inherited from ITGIS_LayerEvents)
Prepare public Opens the layer.
PreRecognize public Checks if the layer can read the file.
Project public Applies a projection on the single point.
Project3D public Applies a projection on the single point in 3D.
Project3D_Ref public Applies a projection on the single point in 3D.
ProjectExtent public Applies a projection on the extent.
Project_Ref public Applies a projection on the single point.
RaiseBusyEvent public Fires Busy event of the layer.
RaiseBusyPrepare public Fires BusyPrepare method of the assigned viewer.
RaiseBusyRelease public Fires BusyRelease method of the assigned viewer.
RaiseBusyShake public Fires BusyShake method of the assigned viewer.
ReadConfig public Reads the layer configuration files.
ReadConfigParam public Reads the layer configuration parameters.
ReadEvent public
(Inherited from ITGIS_LayerEvents)
RecalcExtent public Recalculates extent based on real shapes.
RecalcProjectedExtent public Recalculates a projected extent.
ReOpen public Reopens the layer.
RereadConfig public Rereads the layer configuration files.
RevertAll public Reverts layer to its original content.
RootLayer public Returns the absolute parent layer.
SaveAll public Saves layer and destroys mirrored items.
SaveData public Saves layer and destroys mirrored items.
SetCSByEPSG public Sets up Coordinate System to a coordinate system provided by a EPSG code.
SetCSByWKT public Sets up Coordinate System to a coordinate system provided by a WKT string (GEOGCS or PROJCS).
SetCSByWKTFile public Sets up Coordinate System to a coordinate system provided by a file which contains a WKT string (GEOGCS or PROJCS).
Unlock public Unlocks layer from burst-mode operation.
Unproject public Applies reverse projection (recovers from the projection) on the single point.
Unproject3D public Applies reverse projection (recovers from the projection) on the singlepoint in 3D.
Unproject3D_Ref public Applies reverse projection (recovers from the projection) on the single point in 3D.
UnprojectExtent public Applies reverse projection (recovers from the projection) on the extent.
Unproject_Ref public Applies reverse projection (recover from projection) on the single point.
ViewerReParent public Sets viewer for the layer and its sublayers.
WriteConfig public Writes layer configuration files.
WriteEvent public
(Inherited from ITGIS_LayerEvents)

Properties

Inherited Protected
Name Visibility Description
Active public Checks if the layer is active? Active means layer is visible and an object can be localized on the layer.
Addition public Additional value.
Age public Age of the layer (since its creation).
Basemap public True if the layer must be interpreted as basemap (for background painting).
BasemapDraw public If True, the layer at the moment is drawn inside a basemap thread.
CachedPaint public False if layer must be painted directly (bypassing cache).
Caption public Caption of layer; if not filed directly then will be filed with Name when adding to the Viewer.
CodePage public Code Page in which text has been stored.
Collapsed public Checks if the layer is collapsed? Collapsed means only the layer's title will be visible inside the legend.
Comments public Additional user comments.
ConfigFile public Configuration file handle.
ConfigName public Configuration file name.
CS public Coordinate System that is assigned to the layer.
CustomData public List of custom, user-defined data.
DirectMode public True if the layer is direct-mode (bypassing cache).
DormantMode public Dormant mode for the layer.
Driver public The layer's driver name.
Extent public Extent of the layer.
Extent3D public Three-dimensional extent of the layer.
FileCopyrights public Copyright information about the layer.
FileInfo public Additional textual information about the layer such as compression, number of pixels, copyright, etc.
HideFromLegend public False if the layer should not be visible in legend.
InPaint public True if the layer upon paint process.
IsExportable public True if the layer is exportable.
IsLocked public True if the layer is in locked state.
IsOpened public True if the layer is opened and is ready for operations.
IsPersistent public True if the layer is persistent.
IsReadOnly public True if the layer is read-only.
IsTopmost public True if the layer can be interpreted as the topmost (trackable) layer.
Layer3D public Mode of 3D operations
MaxTileSize public Maximum allowed tile size for the layer.
MultiUserMode public Type of multiuser mode.
Name public Name of layer; if not filled directly, then will be filled with Path when added to the viewer.
ParamsList public List of all parameter sections attached to the current layer.
Params_ public Parameters (colors, fills, etc.) object.
ParentLayer public Parent layer of a sub layer.
Path public Path to file holding the layer's data.
PathWithDriver public Path to file with the layer's data extended with driver name.
ProjectedExtent public Extent of the layer in projected units.
Renderer public Handle to a renderer used for drawing shapes.
Statistics public Layer statistics engine
Stream public Reference to a potential layer underlying the stream.
SubLayers public List of sublayers belonging to the layer.
SubType public Type of sublayer.
SupportsAutoStyle public Indicates whether the layer supports auto styling.
SupportsTiledPaint public Indicates whether the layer supports tiled paint.
Tag public Tag has no predefined meaning.
TagInternal public TagInternal has no predefined meaning.
TagPointer public TagPointer has no predefined meaning.
TiledDrawMode public If True, the layer at the moment is drawn by tiler.
Transform public Custom transformation.
Transparency public Transparency value for the layer (0..100).
UnSupportedOperations public Set of operations not supported by the layer.
UseConfig public True if config file is active.
UserObject public UserObject can be used to associate with the layer a user-defined object.
Viewer public Reference to a viewer object.
ZOrder public Layer's position relative to other layers.
ZOrderEx public Layer position relative to other visible layers.

References

2024/09/13 01:03

Page Tools