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

View2DBox Class

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

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

Constructors

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

Properties

 NameTypeDescription
AccessibilityObjectSystem.Windows.Forms.AccessibleObjectInherited from a System.Windows.Forms.Control
AccessibleDefaultActionDescriptionSystem.StringInherited from a System.Windows.Forms.Control
AccessibleDescriptionSystem.StringInherited from a System.Windows.Forms.Control
AccessibleNameSystem.StringInherited from a System.Windows.Forms.Control
AccessibleRoleSystem.Windows.Forms.AccessibleRoleInherited from a System.Windows.Forms.Control
AllowDropSystem.BooleanInherited from a System.Windows.Forms.Control
AnchorSystem.Windows.Forms.AnchorStylesInherited from a System.Windows.Forms.Control
AutoScrollOffsetSystem.Drawing.PointInherited from a System.Windows.Forms.Control
BackColorSystem.Drawing.ColorInherited from a System.Windows.Forms.Control
BindingContextSystem.Windows.Forms.BindingContextInherited from a System.Windows.Forms.Control
BottomSystem.Int32Inherited from a System.Windows.Forms.Control
BoundsSystem.Drawing.RectangleInherited from a System.Windows.Forms.Control
CanFocusSystem.BooleanInherited from a System.Windows.Forms.Control
CanSelectSystem.BooleanInherited from a System.Windows.Forms.Control
CaptureSystem.BooleanInherited from a System.Windows.Forms.Control
CausesValidationSystem.BooleanInherited from a System.Windows.Forms.Control
ClientRectangleSystem.Drawing.RectangleInherited from a System.Windows.Forms.Control
ClientSizeSystem.Drawing.SizeInherited from a System.Windows.Forms.Control
CompanyNameSystem.StringInherited from a System.Windows.Forms.Control
ContainerSystem.ComponentModel.IContainerInherited from a System.ComponentModel.Component
ContainsFocusSystem.BooleanInherited from a System.Windows.Forms.Control
ContextMenuStripSystem.Windows.Forms.ContextMenuStripInherited from a System.Windows.Forms.Control
ContextMenuSystem.Windows.Forms.ContextMenuInherited from a System.Windows.Forms.Control
ControlsSystem.Windows.Forms.Control.ControlCollectionInherited from a System.Windows.Forms.Control
CreatedSystem.BooleanInherited from a System.Windows.Forms.Control
CursorSystem.Windows.Forms.CursorInherited from a System.Windows.Forms.Control
Data1ColorSystem.Drawing.Color
Data1HMI.Controls.View2DBoxPrimitive Represent a single primitive drawn in the control.
Data2ColorSystem.Drawing.Color
Data2HMI.Controls.View2DBoxPrimitive Represent a single primitive drawn in the control.
Data3ColorSystem.Drawing.Color
Data3HMI.Controls.View2DBoxPrimitive Represent a single primitive drawn in the control.
Data4ColorSystem.Drawing.Color
Data4HMI.Controls.View2DBoxPrimitive Represent a single primitive drawn in the control.
Data5ColorSystem.Drawing.Color
Data5HMI.Controls.View2DBoxPrimitive Represent a single primitive drawn in the control.
Data6ColorSystem.Drawing.Color
Data6HMI.Controls.View2DBoxPrimitive Represent a single primitive drawn in the control.
Data7ColorSystem.Drawing.Color
Data7HMI.Controls.View2DBoxPrimitive Represent a single primitive drawn in the control.
Data8ColorSystem.Drawing.Color
Data8HMI.Controls.View2DBoxPrimitive Represent a single primitive drawn in the control.
Data9ColorSystem.Drawing.Color
Data9HMI.Controls.View2DBoxPrimitive Represent a single primitive drawn in the control.
Data10ColorSystem.Drawing.Color
Data10HMI.Controls.View2DBoxPrimitive Represent a single primitive drawn in the control.
Data11ColorSystem.Drawing.Color
Data11HMI.Controls.View2DBoxPrimitive Represent a single primitive drawn in the control.
Data12ColorSystem.Drawing.Color
Data12HMI.Controls.View2DBoxPrimitive Represent a single primitive drawn in the control.
Data13ColorSystem.Drawing.Color
Data13HMI.Controls.View2DBoxPrimitive Represent a single primitive drawn in the control.
Data14ColorSystem.Drawing.Color
Data14HMI.Controls.View2DBoxPrimitive Represent a single primitive drawn in the control.
Data15ColorSystem.Drawing.Color
Data15HMI.Controls.View2DBoxPrimitive Represent a single primitive drawn in the control.
Data16ColorSystem.Drawing.Color
Data16HMI.Controls.View2DBoxPrimitive Represent a single primitive drawn in the control.
DataAlignmentHMI.Controls.CoordinateSystem Gets or sets the global transformation for all primitives drawn in the control.
DataBindingsSystem.Windows.Forms.ControlBindingsCollectionInherited from a System.Windows.Forms.Control
DeviceDpiSystem.Int32Inherited from a System.Windows.Forms.Control
DisplayModeVideoBoxBase.VideoBoxDisplayMode
DisplayRectangleSystem.Drawing.RectangleInherited from a System.Windows.Forms.Control
DisposingSystem.BooleanInherited from a System.Windows.Forms.Control
DockSystem.Windows.Forms.DockStyleInherited from a System.Windows.Forms.Control
EnabledSystem.BooleanInherited from a System.Windows.Forms.Control
FocusedSystem.BooleanInherited from a System.Windows.Forms.Control
HandleSystem.IntPtrInherited from a System.Windows.Forms.Control
HasChildrenSystem.BooleanInherited from a System.Windows.Forms.Control
HasImageSystem.Boolean Gets the flag indicating whether the control is currently displaying any image (has non-empty image set).
HeightSystem.Int32Inherited from a System.Windows.Forms.Control
HighQualitySystem.Boolean Gets or sets the flag indicating whether the primitives are drawn in slower high quality mode.
ImageHeightSystem.Int32 Gets the height in pixels of the currently displayed image.
ImageWidthSystem.Int32 Gets the with in pixels of the currently displayed image.
ImageHMI.Controls.VideoBoxImage Represents the image displayed in the control.
ImeModeSystem.Windows.Forms.ImeModeInherited from a 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).
InvokeRequiredSystem.BooleanInherited from a System.Windows.Forms.Control
IsAccessibleSystem.BooleanInherited from a System.Windows.Forms.Control
IsDisposedSystem.BooleanInherited from a System.Windows.Forms.Control
IsHandleCreatedSystem.BooleanInherited from a System.Windows.Forms.Control
IsMirroredSystem.BooleanInherited from a System.Windows.Forms.Control
IsMovingSystem.Boolean Returns True when user is currently using mouse to move the image inside the control.
LayoutEngineSystem.Windows.Forms.Layout.LayoutEngineInherited from a System.Windows.Forms.Control
LeftSystem.Int32Inherited from a System.Windows.Forms.Control
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).
LocationSystem.Drawing.PointInherited from a 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.
MarginSystem.Windows.Forms.PaddingInherited from a System.Windows.Forms.Control
MaximumSizeSystem.Drawing.SizeInherited from a System.Windows.Forms.Control
MinimumSizeSystem.Drawing.SizeInherited from a System.Windows.Forms.Control
NameSystem.StringInherited from a System.Windows.Forms.Control
PaddingSystem.Windows.Forms.PaddingInherited from a System.Windows.Forms.Control
ParentSystem.Windows.Forms.ControlInherited from a System.Windows.Forms.Control
PreferredSizeSystem.Drawing.SizeInherited from a System.Windows.Forms.Control
ProductNameSystem.StringInherited from a System.Windows.Forms.Control
ProductVersionSystem.StringInherited from a System.Windows.Forms.Control
RecreatingHandleSystem.BooleanInherited from a System.Windows.Forms.Control
RegionSystem.Drawing.RegionInherited from a System.Windows.Forms.Control
RightToLeftSystem.Windows.Forms.RightToLeftInherited from a System.Windows.Forms.Control
RightSystem.Int32Inherited from a System.Windows.Forms.Control
SiteSystem.ComponentModel.ISiteInherited from a System.Windows.Forms.Control
SizeModeVideoBoxBase.ZoomingVideoBoxMode Gets or sets the value indicating the current size handling mode of the control.
SizeModeVideoBoxBase.VideoBoxSizeMode Gets or sets the image size handling mode.
SizeSystem.Drawing.SizeInherited from a System.Windows.Forms.Control
TabIndexSystem.Int32Inherited from a System.Windows.Forms.Control
TabStopSystem.Boolean
TagSystem.ObjectInherited from a System.Windows.Forms.Control
TopLevelControlSystem.Windows.Forms.ControlInherited from a System.Windows.Forms.Control
TopSystem.Int32Inherited from a System.Windows.Forms.Control
TranslationSystem.Drawing.Point Gets or sets the current translation of the image scene in the control client space.
UseWaitCursorSystem.BooleanInherited from a System.Windows.Forms.Control
VisibleBoundsSystem.Drawing.Rectangle
VisibleSystem.BooleanInherited from a System.Windows.Forms.Control
WidthSystem.Int32Inherited from a System.Windows.Forms.Control
ZoomSystem.Double Gets or sets the current image zoom factor.

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()Disposes underlying unmanaged resources. See MSDN documentation for IDisposable interface for more info.
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
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.
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