User Tools

Site Tools


api:dk11:activex:tatukgis_xdk11.tgis_controlscale

TGIS_ControlScale class

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

Visual control for displaying map scale.

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

Syntax

// C#
public class TGIS_ControlScale : ITGIS_ControlScale, ITGIS_ControlScale_OCX, IGIS_PrintableControl, ITGIS_ControlScaleEvents 
{
}
' VisualBasic
Public Class TGIS_ControlScale
  Implements ITGIS_ControlScale
  Implements ITGIS_ControlScale_OCX
  Implements IGIS_PrintableControl
  Implements ITGIS_ControlScaleEvents
End Class
// Oxygene
type
  TGIS_ControlScale = public class
  end;

Implements

Methods

Inherited Overrides Protected
Name Visibility Description
AttachDelphiObj public Only for internal use of TatukGIS.
(Inherited from ITBaseObject)
(Implements ITBaseObject.AttachDelphiObj)
DelphiObj public Only for internal use of TatukGIS.
(Inherited from ITBaseObject)
(Implements ITBaseObject.DelphiObj)
Draw public Draw scale.
DrawBmp public Draw control on a provided bitmap.
DrawBmp_2 public Draw control on a provided bitmap.
OnClick public Standard VCL event.
(Inherited from ITGIS_ControlScaleEvents)
OnDblClick public Standard VCL event.
(Inherited from ITGIS_ControlScaleEvents)
OnKeyDown public Standard VCL event.
(Inherited from ITGIS_ControlScaleEvents)
OnKeyPress public Standard VCL event.
(Inherited from ITGIS_ControlScaleEvents)
OnKeyUp public Standard VCL event.
(Inherited from ITGIS_ControlScaleEvents)
OnMouseDown public Standard VCL event.
(Inherited from ITGIS_ControlScaleEvents)
OnMouseMove public Standard VCL event.
(Inherited from ITGIS_ControlScaleEvents)
OnMouseUp public Standard VCL event.
(Inherited from ITGIS_ControlScaleEvents)
OnMouseWheel public Standard VCL event.
(Inherited from ITGIS_ControlScaleEvents)
OnMouseWheelDown public Standard VCL event.
(Inherited from ITGIS_ControlScaleEvents)
OnMouseWheelUp public Standard VCL event.
(Inherited from ITGIS_ControlScaleEvents)
PrepareEvent public Event fired before calculating scale.
(Inherited from ITGIS_ControlScaleEvents)
PrintBmp public Print the control on the given bitmap.
(Implements IGIS_PrintableControl.PrintBmp)
PrintClipboard public Print control on the clipboard.
SubscribedEvent public

Properties

Inherited Protected
Name Visibility Description
Bitmap public Bitmap. Valid only if control was created by Create with a parameter.
BorderStyle public Standard VCL property.
Color public Standard VCL property.
DividerColor1 public Color of the first divider.
DividerColor2 public Color of the second divider.
Dividers public Number of dividers.
Font public Standard VCL property.
GIS_Bitmap public Bitmap. Valid only if control was created by Create with a parameter.
GIS_Viewer public Attached viewer.
Glow public Draw "glowing" shadow around scale.
Hidden public Turn control on/off.
Transparent public If True then control will be drawn as transparent.
Units public Units used for scale output.
UnitsEPSG public Units EPSG code for scale output.
Visible public Use property Hidden instead.

Remarks

Place this component on a form and connect GIS_Viewer to TGIS_ViewerWnd.

Based on TGIS_Viewer.CS units settings the component will try to compute the scale.

2024/04/28 01:04

Page Tools