Class VLImageDisplay.TVLImageDisplay
From Mitov Wiki Doc
				
				
				
				
																
				
				
								
				This is a Beta Read Only version of this page. Please review and send recommendations to mitov@mitov.com. We will enable the editing as soon as we are happy with the overall Wiki site.
Package: VideoLabBasicPkg
Unit: VLImageDisplay
Inherits: TVLCommonImageDisplay
Contents | 
Syntax
Delphi:
type TVLImageDisplay = class( TVLCommonImageDisplay )
C++ Builder:
class TVLImageDisplay : public TVLCommonImageDisplay
Visual C++ (MFC):
class CTVLImageDisplay : public CTVLCommonImageDisplay
C# (.NET):
public ref class ImageDisplay : Mitov.VideoLab.CommonImageDisplay
Summary
Video display component.
Description
Creates visible image display for representing the frame images.
Use this component to visualize video data.
Diagram:
In Visual C++ you can instantiate the component by using the Open method:
VCL_InitControls( m_hWnd ); // Call this function once before creating any visual controls! CTVLImageDisplay ImageDisplay; ImageDisplay.Open( m_ImageDisplay.m_hWnd );
Properties
Published
- RenderMode - Specifies the desired rendering mode.
 
Methods
Public
- procedure DrawTo(AGraphics : IGPGraphics; AContoursOnly : Boolean; AWidth : Single; AHeight : Single)
 - procedure Clear() - Clears the Display.
 - procedure Invalidate()
 
From TVLCommonImageDisplay
Properties
Published
- AutoClear - Auto clear the display at the end of the video.
 - AspectRatio - Specifies the desired aspect ration for the display.
 - TabStop
 
Methods
Public
- procedure Clear() - Clears the display.
 - procedure DisplayBitmap(ABitmap : TBitmap) - Displays the content of a bitmap.
 - procedure DisplayBitmap(ABitmap : TVLBitmap) - Displays the content of a bitmap.
 - procedure DisplayImage(AImage : IVLImageBuffer) - Displays the content of an image buffer.
 
Pins
- InputPin - The Video Input Pin of the display.
 - UserControlOutputPin - User control source pin.
 
From TVLCommonDisplay
Properties
Published
- AutoSize - Auto-size to display to the video size.
 - Center - Center the image in the display.
 - Stretch - Stretch the image to the display size.
 - StretchMax - Stretches the image to fill completely the frame, while preserving the aspect ration.
 - Proportional - Keep the image proportional(Preserve aspect ratio).
 - Color
 
Public
- ImageHeight - Returns the Height of the image in the display.
 - ImageWidth - Returns the Width of the image in the display.
 - ImageTop - Returns the Top position of the image in the display.
 - ImageLeft - Returns the Left position of the image in the display.
 
Methods
Public
- procedure SetParent(AParent : TWinControl)
 - function ScreenToImage(AValue : TPoint) : TPoint - Converts from screen coordinates into video frame coordinates.
 

