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( TStyledControl, IGIS_Subscribe, IGIS_PrintableControl ):
Name | Visibility | Description | |
---|---|---|---|
__init__ | public | Create the control. | |
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) |
|
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 | published | Used for internal use of TatukGIS. (Implements IGIS_PrintableControl.InternalName) |
|
ShadowColor | published | Color of the text shadow. | |
StyledSettings | published | Styled settings. | |
TextColor | published | Color of the text. | |
Units | public | Units used for scale output. | |
UnitsEPSG | published | Units EPSG code for scale output. | |
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.