Class VLCommonDisplay.TVLCommonImageDisplay
From Mitov Wiki Doc
(Difference between revisions)
(Automated Syncronization with Documentation) |
(Automated Syncronization with Documentation) |
||
Line 26: | Line 26: | ||
=== C# (.NET): === | === C# (.NET): === | ||
<code> | <code> | ||
− | '''public ref class''' | + | '''public ref class''' CommonImageDisplay : [[Class VLCommonDisplay.TVLCommonDisplay|Mitov.VideoLab.CommonDisplay]] |
</code> | </code> | ||
== Summary == | == Summary == |
Latest revision as of 00:30, 26 June 2013
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: VLCommonDisplay
Inherits: TVLCommonDisplay
Contents |
Syntax
Delphi:
type TVLCommonImageDisplay = class( TVLCommonDisplay )
C++ Builder:
class TVLCommonImageDisplay : public TVLCommonDisplay
Visual C++ (MFC):
class CTVLCommonImageDisplay : public CTVLCommonDisplay
C# (.NET):
public ref class CommonImageDisplay : Mitov.VideoLab.CommonDisplay
Summary
Base abstract class for Image Displays.
Description
Common basic class for all of the VideoLab image displays. Do not create any instances of this class.
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.