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 | Java | ActiveX | Python.

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
  [ToolboxItem(True)]
  [ToolboxBitmap(typeOf(TGIS_ControlNorthArrow))]
  [Description('Visual control for displaying map North Arrow.')]
  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
CreateCopy public Prepare a copy of the control for printing.
(Implements IGIS_PrintableControl.CreateCopy)
Dispose protected Clean up any resources being used.
Draw public Draw north arrow.
DrawBmp public Draw control on a provided bitmap
FreeCopy public Release the copy of the control.
(Implements IGIS_PrintableControl.FreeCopy)
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.
InternalName public Used for internal use of TatukGIS.
(Implements IGIS_PrintableControl.InternalName)
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.

2022/11/16 01:38

Page Tools