You are here: Start » AVL.NET » View2DBox Class

View2DBox Class

Namespace:HMI.Controls
Assembly:HMI.Controls.dll

Extension of the VideoBox control allowing to show a set of 2D geometry primitives on top of the image.

Constructors

 ConstructorDescription
View2DBox() Constructs a new instance of the View2DBox class.

Properties

 NameTypeDescription
AccessibilityObjectSystem.Windows.Forms.AccessibleObjectInherited from System.Windows.Forms.Control
AccessibleDefaultActionDescriptionSystem.StringInherited from System.Windows.Forms.Control
AccessibleDescriptionSystem.StringInherited from System.Windows.Forms.Control
AccessibleNameSystem.StringInherited from System.Windows.Forms.Control
AccessibleRoleSystem.Windows.Forms.AccessibleRoleInherited from System.Windows.Forms.Control
AllowDropSystem.BooleanInherited from System.Windows.Forms.Control
AnchorSystem.Windows.Forms.AnchorStylesInherited from System.Windows.Forms.Control
AutoScrollOffsetSystem.Drawing.PointInherited from System.Windows.Forms.Control
BackColorSystem.Drawing.ColorInherited from System.Windows.Forms.Control
BindingContextSystem.Windows.Forms.BindingContextInherited from System.Windows.Forms.Control
BottomSystem.Int32Inherited from System.Windows.Forms.Control
BoundsSystem.Drawing.RectangleInherited from System.Windows.Forms.Control
CanFocusSystem.BooleanInherited from System.Windows.Forms.Control
CanSelectSystem.BooleanInherited from System.Windows.Forms.Control
CaptureSystem.BooleanInherited from System.Windows.Forms.Control
CausesValidationSystem.BooleanInherited from System.Windows.Forms.Control
ClientRectangleSystem.Drawing.RectangleInherited from System.Windows.Forms.Control
ClientSizeSystem.Drawing.SizeInherited from System.Windows.Forms.Control
CompanyNameSystem.StringInherited from System.Windows.Forms.Control
ContainerSystem.ComponentModel.IContainerInherited from System.ComponentModel.Component
ContainsFocusSystem.BooleanInherited from System.Windows.Forms.Control
ContextMenuStripSystem.Windows.Forms.ContextMenuStripInherited from System.Windows.Forms.Control
ContextMenuSystem.Windows.Forms.ContextMenuInherited from System.Windows.Forms.Control
ControlsSystem.Windows.Forms.Control.ControlCollectionInherited from System.Windows.Forms.Control
CreatedSystem.BooleanInherited from System.Windows.Forms.Control
CursorSystem.Windows.Forms.CursorInherited from System.Windows.Forms.Control
Data1ColorSystem.Drawing.Color
Data1HMI.Controls.View2DBoxPrimitive Represent a single primitive drawn in the control.

Inherited from HMI.Controls.BaseView2DBox
Data2ColorSystem.Drawing.Color
Data2HMI.Controls.View2DBoxPrimitive Represent a single primitive drawn in the control.

Inherited from HMI.Controls.BaseView2DBox
Data3ColorSystem.Drawing.Color
Data3HMI.Controls.View2DBoxPrimitive Represent a single primitive drawn in the control.

Inherited from HMI.Controls.BaseView2DBox
Data4ColorSystem.Drawing.Color
Data4HMI.Controls.View2DBoxPrimitive Represent a single primitive drawn in the control.

Inherited from HMI.Controls.BaseView2DBox
Data5ColorSystem.Drawing.Color
Data5HMI.Controls.View2DBoxPrimitive Represent a single primitive drawn in the control.

Inherited from HMI.Controls.BaseView2DBox
Data6ColorSystem.Drawing.Color
Data6HMI.Controls.View2DBoxPrimitive Represent a single primitive drawn in the control.

Inherited from HMI.Controls.BaseView2DBox
Data7ColorSystem.Drawing.Color
Data7HMI.Controls.View2DBoxPrimitive Represent a single primitive drawn in the control.

Inherited from HMI.Controls.BaseView2DBox
Data8ColorSystem.Drawing.Color
Data8HMI.Controls.View2DBoxPrimitive Represent a single primitive drawn in the control.

Inherited from HMI.Controls.BaseView2DBox
Data9ColorSystem.Drawing.Color
Data9HMI.Controls.View2DBoxPrimitive Represent a single primitive drawn in the control.

Inherited from HMI.Controls.BaseView2DBox
Data10ColorSystem.Drawing.Color
Data10HMI.Controls.View2DBoxPrimitive Represent a single primitive drawn in the control.

Inherited from HMI.Controls.BaseView2DBox
Data11ColorSystem.Drawing.Color
Data11HMI.Controls.View2DBoxPrimitive Represent a single primitive drawn in the control.

Inherited from HMI.Controls.BaseView2DBox
Data12ColorSystem.Drawing.Color
Data12HMI.Controls.View2DBoxPrimitive Represent a single primitive drawn in the control.

Inherited from HMI.Controls.BaseView2DBox
Data13ColorSystem.Drawing.Color
Data13HMI.Controls.View2DBoxPrimitive Represent a single primitive drawn in the control.

Inherited from HMI.Controls.BaseView2DBox
Data14ColorSystem.Drawing.Color
Data14HMI.Controls.View2DBoxPrimitive Represent a single primitive drawn in the control.

Inherited from HMI.Controls.BaseView2DBox
Data15ColorSystem.Drawing.Color
Data15HMI.Controls.View2DBoxPrimitive Represent a single primitive drawn in the control.

Inherited from HMI.Controls.BaseView2DBox
Data16ColorSystem.Drawing.Color
Data16HMI.Controls.View2DBoxPrimitive Represent a single primitive drawn in the control.

Inherited from HMI.Controls.BaseView2DBox
DataAlignmentHMI.Controls.CoordinateSystem Gets or sets the global transformation for all primitives drawn in the control.

Inherited from HMI.Controls.BaseView2DBox
DataBindingsSystem.Windows.Forms.ControlBindingsCollectionInherited from System.Windows.Forms.Control
DeviceDpiSystem.Int32Inherited from System.Windows.Forms.Control
DisplayModeVideoBoxBase.VideoBoxDisplayModeInherited from HMI.Controls.ZoomingVideoBox
DisplayRectangleSystem.Drawing.RectangleInherited from System.Windows.Forms.Control
DisposingSystem.BooleanInherited from System.Windows.Forms.Control
DockSystem.Windows.Forms.DockStyleInherited from System.Windows.Forms.Control
EnabledSystem.BooleanInherited from System.Windows.Forms.Control
FocusedSystem.BooleanInherited from System.Windows.Forms.Control
HandleSystem.IntPtrInherited from System.Windows.Forms.Control
HasChildrenSystem.BooleanInherited from System.Windows.Forms.Control
HasImageSystem.Boolean Gets the flag indicating whether the control is currently displaying any image (has non-empty image set).

Inherited from VideoBoxBase.VideoBoxBase
HeightSystem.Int32Inherited from System.Windows.Forms.Control
HighQualitySystem.Boolean Gets or sets the flag indicating whether the primitives are drawn in slower high quality mode.

Inherited from HMI.Controls.BaseView2DBox
ImageHeightSystem.Int32 Gets the height in pixels of the currently displayed image.

Inherited from VideoBoxBase.VideoBoxBase
ImageWidthSystem.Int32 Gets the with in pixels of the currently displayed image.

Inherited from VideoBoxBase.VideoBoxBase
ImageHMI.Controls.VideoBoxImage Represents the image displayed in the control.

Inherited from HMI.Controls.ZoomingVideoBox
ImeModeSystem.Windows.Forms.ImeModeInherited from System.Windows.Forms.Control
InitialSizeModeHMI.Controls.ZoomingVideoBoxSizeMode Gets or sets the flag indicating the initial image size handling mode (applied to SizeMode during the control startup).

Inherited from HMI.Controls.ZoomingVideoBox
InvokeRequiredSystem.BooleanInherited from System.Windows.Forms.Control
IsAccessibleSystem.BooleanInherited from System.Windows.Forms.Control
IsDisposedSystem.BooleanInherited from System.Windows.Forms.Control
IsHandleCreatedSystem.BooleanInherited from System.Windows.Forms.Control
IsMirroredSystem.BooleanInherited from System.Windows.Forms.Control
IsMovingSystem.Boolean Returns True when user is currently using mouse to move the image inside the control.

Inherited from HMI.Controls.ZoomingVideoBox
LayoutEngineSystem.Windows.Forms.Layout.LayoutEngineInherited from System.Windows.Forms.Control
LeftSystem.Int32Inherited from System.Windows.Forms.Control
LineWidthScalingHMI.Controls.BaseView2DBox.LineScalingMode Gets or sets the mode of automatic line width scaling in relation to the zoom level.

Inherited from HMI.Controls.BaseView2DBox
LineWidthSystem.Single Gets or sets the width of the line used to draw primitives on top of the image (in pixels in the image space).

Inherited from HMI.Controls.BaseView2DBox
LocationSystem.Drawing.PointInherited from System.Windows.Forms.Control
ManualZoomEnabledSystem.Boolean Gets or sets the flag enabling the user to manually change the zoom and translation of the image preview.

Inherited from HMI.Controls.ZoomingVideoBox
MarginSystem.Windows.Forms.PaddingInherited from System.Windows.Forms.Control
MaximumSizeSystem.Drawing.SizeInherited from System.Windows.Forms.Control
MinimumSizeSystem.Drawing.SizeInherited from System.Windows.Forms.Control
NameSystem.StringInherited from System.Windows.Forms.Control
PaddingSystem.Windows.Forms.PaddingInherited from System.Windows.Forms.Control
ParentSystem.Windows.Forms.ControlInherited from System.Windows.Forms.Control
PreferredSizeSystem.Drawing.SizeInherited from System.Windows.Forms.Control
ProductNameSystem.StringInherited from System.Windows.Forms.Control
ProductVersionSystem.StringInherited from System.Windows.Forms.Control
RecreatingHandleSystem.BooleanInherited from System.Windows.Forms.Control
RegionSystem.Drawing.RegionInherited from System.Windows.Forms.Control
RightToLeftSystem.Windows.Forms.RightToLeftInherited from System.Windows.Forms.Control
RightSystem.Int32Inherited from System.Windows.Forms.Control
ShowSegmentArrowsSystem.Boolean Gets or sets the visibility of arrows at the end of segment primitives.

Inherited from HMI.Controls.BaseView2DBox
SiteSystem.ComponentModel.ISiteInherited from System.Windows.Forms.Control
SizeModeVideoBoxBase.ZoomingVideoBoxMode Gets or sets the value indicating the current size handling mode of the control.

Inherited from VideoBoxBase.ZoomingVideoBoxBase
SizeModeVideoBoxBase.VideoBoxSizeMode Gets or sets the image size handling mode.

Inherited from VideoBoxBase.VideoBoxBase
SizeSystem.Drawing.SizeInherited from System.Windows.Forms.Control
TabIndexSystem.Int32Inherited from System.Windows.Forms.Control
TabStopSystem.BooleanInherited from HMI.Controls.ZoomingVideoBox
TagSystem.ObjectInherited from System.Windows.Forms.Control
TopLevelControlSystem.Windows.Forms.ControlInherited from System.Windows.Forms.Control
TopSystem.Int32Inherited from System.Windows.Forms.Control
TranslationSystem.Drawing.Point Gets or sets the current translation of the image scene in the control client space.

Inherited from VideoBoxBase.ZoomingVideoBoxBase
UseWaitCursorSystem.BooleanInherited from System.Windows.Forms.Control
VisibleBoundsSystem.Drawing.RectangleInherited from HMI.Controls.ZoomingVideoBox
VisibleSystem.BooleanInherited from System.Windows.Forms.Control
WidthSystem.Int32Inherited from System.Windows.Forms.Control
ZoomSystem.Double Gets or sets the current image zoom factor.

Inherited from VideoBoxBase.ZoomingVideoBoxBase

Methods

 NameDescription
BeginInvoke(System.Delegate)Inherited from System.Windows.Forms.Control
BeginInvoke(System.Delegate, object[])Inherited from System.Windows.Forms.Control
BringToFront()Inherited from System.Windows.Forms.Control
Contains(System.Windows.Forms.Control)Inherited from System.Windows.Forms.Control
CreateControl()Inherited from System.Windows.Forms.Control
CreateGraphics()Inherited from System.Windows.Forms.Control
CreateObjRef(System.Type)Inherited from System.MarshalByRefObject
Dispose()Inherited from System.ComponentModel.Component
DoDragDrop(object, System.Windows.Forms.DragDropEffects)Inherited from System.Windows.Forms.Control
DrawToBitmap(System.Drawing.Bitmap, System.Drawing.Rectangle)Inherited from System.Windows.Forms.Control
EndInvoke(System.IAsyncResult)Inherited from System.Windows.Forms.Control
Equals(object)Inherited from System.Object
FindForm()Inherited from System.Windows.Forms.Control
Focus()Inherited from System.Windows.Forms.Control
GetChildAtPoint(System.Drawing.Point)Inherited from System.Windows.Forms.Control
GetChildAtPoint(System.Drawing.Point, System.Windows.Forms.GetChildAtPointSkip)Inherited from System.Windows.Forms.Control
GetContainerControl()Inherited from System.Windows.Forms.Control
GetHashCode()Inherited from System.Object
GetLifetimeService()Inherited from System.MarshalByRefObject
GetNextControl(System.Windows.Forms.Control, bool)Inherited from System.Windows.Forms.Control
GetPreferredSize(System.Drawing.Size)Inherited from System.Windows.Forms.Control
GetType()Inherited from System.Object
Hide()Inherited from System.Windows.Forms.Control
InitializeLifetimeService()Inherited from System.MarshalByRefObject
Invalidate()Inherited from System.Windows.Forms.Control
Invalidate(bool)Inherited from System.Windows.Forms.Control
Invalidate(System.Drawing.Rectangle)Inherited from System.Windows.Forms.Control
Invalidate(System.Drawing.Region)Inherited from System.Windows.Forms.Control
Invalidate(System.Drawing.Rectangle, bool)Inherited from System.Windows.Forms.Control
Invalidate(System.Drawing.Region, bool)Inherited from System.Windows.Forms.Control
Invoke(System.Delegate)Inherited from System.Windows.Forms.Control
Invoke(System.Delegate, object[])Inherited from System.Windows.Forms.Control
LogicalToDeviceUnits(int)Inherited from System.Windows.Forms.Control
LogicalToDeviceUnits(System.Drawing.Size)Inherited from System.Windows.Forms.Control
PerformLayout()Inherited from System.Windows.Forms.Control
PerformLayout(System.Windows.Forms.Control, string)Inherited from System.Windows.Forms.Control
PointToClient(System.Drawing.Point)Inherited from System.Windows.Forms.Control
PointToControlSpace(System.Drawing.Point) Computes the location of the specified image pixel into control coordinates.
PointToImageSpaceF(System.Drawing.Point) Computes the sub-pixel location of the specified control point into currently displayed image coordinates (in its current size state).
PointToImageSpace(System.Drawing.Point) Computes the location of the specified control point into currently displayed image coordinates (in its current size state).
PointToScreen(System.Drawing.Point)Inherited from System.Windows.Forms.Control
PreProcessControlMessage(System.Windows.Forms.Message)Inherited from System.Windows.Forms.Control
PreProcessMessage(System.Windows.Forms.Message)Inherited from System.Windows.Forms.Control
RectangleToClient(System.Drawing.Rectangle)Inherited from System.Windows.Forms.Control
RectangleToScreen(System.Drawing.Rectangle)Inherited from System.Windows.Forms.Control
Refresh()Inherited from System.Windows.Forms.Control
ResetText()Inherited from System.Windows.Forms.Control
ResumeLayout()Inherited from System.Windows.Forms.Control
ResumeLayout(bool)Inherited from System.Windows.Forms.Control
ScaleBitmapLogicalToDevice(System.Drawing.Bitmap)Inherited from System.Windows.Forms.Control
Scale(System.Drawing.SizeF)Inherited from System.Windows.Forms.Control
SelectNextControl(System.Windows.Forms.Control, bool, bool, bool, bool)Inherited from System.Windows.Forms.Control
Select()Inherited from System.Windows.Forms.Control
SendToBack()Inherited from System.Windows.Forms.Control
SetBounds(int, int, int, int)Inherited from System.Windows.Forms.Control
SetBounds(int, int, int, int, System.Windows.Forms.BoundsSpecified)Inherited from System.Windows.Forms.Control
SetImage(AvlNet.Image) Sets the image data to be displayed in the VideoBox control.
SetImage(int, int, int, VideoBoxBase.ImagePixelType, int, byte[]) Sets a general image data to be displayed in this control.
SetImage(int, int, int, VideoBoxBase.ImagePixelType, int, System.IntPtr) Sets a general image data to be displayed in this control.
SetImage(int, int, int, VideoBoxBase.ImagePixelType, int, System.Void*) Sets a general image data to be displayed in this control.
Show()Inherited from System.Windows.Forms.Control
SuspendLayout()Inherited from System.Windows.Forms.Control
ToString()Inherited from System.Object
Update()Inherited from System.Windows.Forms.Control
ZoomIn() Increases the zoom factor of the preview.
ZoomOut() Decreases the zoom factor of the preview.

Remarks

See also