Class ImageBox
Represents a graphics accelerated control for displaying an image.
public class ImageBox : VisualizerCanvas, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, IContainerControl
- Inheritance
-
ImageBox
- Implements
- Inherited Members
Properties
Image
Gets or sets the image to display.
public IplImage Image { get; set; }
Property Value
ImageScale
Gets or sets the brightness scale factor applied when rendering the image.
public double ImageScale { get; set; }
Property Value
Methods
Dispose(bool)
Releases the unmanaged resources used by the Control and its child controls and optionally releases the managed resources.
protected override void Dispose(bool disposing)
Parameters
disposing
booltrue to release both managed and unmanaged resources; false to release only unmanaged resources.
OnLoad(EventArgs)
Raises the Load event.
protected override void OnLoad(EventArgs e)
Parameters
OnRenderFrame(EventArgs)
Raises the RenderFrame event.
protected override void OnRenderFrame(EventArgs e)
Parameters
OnSwapBuffers(EventArgs)
Raises the SwapBuffers event.
protected override void OnSwapBuffers(EventArgs e)
Parameters
SetImage(IplImage)
Updates the image to display in the control.
protected virtual void SetImage(IplImage image)
Parameters
image
IplImageThe image to display.