User Tools

Site Tools


TGIS_ControlScale class

DK11 for Python | tatukgis.pdk.TGIS_ControlScale | Classes | Constructors | Methods | Properties | Events

Visual control for displaying map scale.

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


# Python
class TGIS_ControlScale( tatukgis.rtl.TControl, tatukgis.pdk.IGIS_Subscribe, tatukgis.pdk.IGIS_PrintableControl ):





Inherited Overrides Protected
Name Visibility Description
__init__ public Create the control.


Inherited Overrides Protected
Name Visibility Description
CreateCopy public Prepare a copy of the control for printing.
(Implements IGIS_PrintableControl.CreateCopy)
DrawBmp public Draw control on a provided bitmap
FreeCopy public Release the copy of the control.
(Implements IGIS_PrintableControl.FreeCopy)
PrintBmp public Print the control on the given bitmap.
(Implements IGIS_PrintableControl.PrintBmp)
PrintClipboard public Print control on the clipboard.
SubscribedEvent public Subscriber notification event.
(Implements IGIS_Subscribe.SubscribedEvent)


Inherited Protected
Name Visibility Description
DividerColor1 published Color of the first divider.
DividerColor2 published Color of the second divider.
Dividers published Number of dividers.
Font published Font of the text.
GIS_Viewer published Attached viewer.
Glow published Draw "glowing" shadow around scale.
InternalName public Used for internal use of TatukGIS.
(Inherited from IGIS_PrintableControl)
ShadowColor published Color of the text shadow.
TextColor published Color of the text.
Units public Units used for scale output.
UnitsEPSG published Units EPSG code for scale output.


Inherited Protected
Name Visibility Description
PrepareEvent published Event fired before calculating scale.


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.

2022/11/21 01:48

Page Tools