User Tools

Site Tools


api:dk11:net:tatukgis.ndk.winforms.tgis_controlnortharrow

TGIS_ControlNorthArrow class

DK11 for .NET | TatukGIS.NDK.WinForms.TGIS_ControlNorthArrow | Classes | Constructors | Methods | Properties

Visual control for displaying map North Arrow.

Available also on: Delphi FMX | Delphi VCL | .NET WPF | Java.

Syntax

// C#
public class TGIS_ControlNorthArrow : System.Windows.Forms.Panel, IGIS_Subscribe, IGIS_PrintableControl 
{
}
' VisualBasic
Public Class TGIS_ControlNorthArrow
  Inherits System.Windows.Forms.Panel
  Implements IGIS_Subscribe
  Implements IGIS_PrintableControl
End Class
// Oxygene
type
  [Description('Visual control for displaying map North Arrow.')]
  [ToolboxBitmap(typeOf(TGIS_ControlNorthArrow))]
  TGIS_ControlNorthArrow = public class( System.Windows.Forms.Panel, IGIS_Subscribe, IGIS_PrintableControl )
  end;

Inheritance

→ System.Windows.Forms.Panel

Implements

Constructors

Inherited Overrides Protected
Name Visibility Description
TGIS_ControlNorthArrow() public Create the control.

Methods

Inherited Overrides Protected
Name Visibility Description
Dispose protected Clean up any resources being used.
Draw public Draw north arrow.
DrawBmp public Draw control on a provided bitmap
OnPaint protected Paint the control.
PrintBmp public Print the control on the given bitmap.
(Implements IGIS_PrintableControl.PrintBmp)
PrintClipboard public Print control cliboard.
SubscribedEvent public Subscriber notification event.
(Implements IGIS_Subscribe.SubscribedEvent)
Update public Update the control.

Properties

Inherited Protected
Name Visibility Description
Bitmap public Bitmap. Valid only if control was created by Create with a parameter.
Color1 public Fill color.
Color2 public Outline color.
GIS_Viewer public Attached viewer.
Glow public Draw "glowing" shadow around the symbol.
Path public Symbol path.
Style public Symbol style, used if Path is empty.
Transparent public If True then the control will be drawn as transparent.
Visible public Control visibility.

Remarks

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

2019/06/26 01:16