User Tools

Site Tools


api:dk11:delphi:fmx.giscontrolscale.tgis_controlscale

TGIS_ControlScale class

DK11 for Delphi | FMX.GisControlScale.TGIS_ControlScale | Classes | Constructors | Methods | Properties | Events

Visual control for displaying map scale.

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

Syntax

// Delphi
type
  [ComponentPlatformsAttribute(pidAllPlatforms)]
  TGIS_ControlScale = class( TControl, IGIS_Subscribe, IGIS_PrintableControl )
  end;
// C++ Builder
class PASCALIMPLEMENTATION TGIS_ControlScale : public TControl
{
};

Inheritance

→ TControl

Implements

Constructors

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

Methods

Inherited Overrides Protected
Name Visibility Description
CreateCopy public Prepare a copy of the control for printing.
(Implements IGIS_PrintableControl.CreateCopy)
DoPaint protected Paint the control.
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)

Properties

Inherited Protected
Name Visibility Description
Align published Standard FMX property.
Anchors published Standard FMX property.
ClipChildren published Standard FMX property.
ClipParent published Standard FMX property.
Cursor published Standard FMX property.
DividerColor1 published Color of the first divider.
DividerColor2 published Color of the second divider.
Dividers published Number of dividers.
DragMode published Standard FMX property.
Enabled published Standard FMX property.
EnableDragHighlight published Standard FMX property.
Font published Font of the text.
GIS_Viewer published Attached viewer.
Glow published Draw "glowing" shadow around scale.
Height published Standard FMX property.
HitTest published Standard FMX property.
InternalName public Used for internal use of TatukGIS.
(Inherited from IGIS_PrintableControl)
Locked published Standard FMX property.
Margins published Standard FMX property.
Opacity published Standard FMX property.
Padding published Standard FMX property.
PopupMenu published Standard FMX property.
Position published Standard FMX property.
RotationAngle published Standard FMX property.
RotationCenter published Standard FMX property.
Scale published Standard FMX property.
ShadowColor published Color of the text shadow.
Size published Standard FMX property.
TextColor published Color of the text.
Units public Units used for scale output.
UnitsEPSG published Units EPSG code for scale output.
Visible published Standard FMX property.
Width published Standard FMX property.

Events

Inherited Protected
Name Visibility Description
OnClick published Standard FMX event.
OnDblClick published Standard FMX event.
OnDragDrop published Standard FMX event.
OnDragEnd published Standard FMX event.
OnDragEnter published Standard FMX event.
OnDragLeave published Standard FMX event.
OnDragOver published Standard FMX event.
OnMouseDown published Standard FMX event.
OnMouseEnter published Standard FMX event.
OnMouseLeave published Standard FMX event.
OnMouseMove published Standard FMX event.
OnMouseUp published Standard FMX event.
OnMouseWheel published Standard FMX event.
OnPaint published Standard FMX event.
OnPainting published Standard FMX event.
OnResize published Standard FMX event.
PrepareEvent published Event fired before calculating scale.

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.

2021/12/07 08:41

Page Tools