Class VLCommonDisplay.TVLCommonDisplay
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: VLCommonDisplay
Inherits: TSLCustomControlItem
Contents |
Syntax
Delphi:
type TVLCommonDisplay = class( TSLCustomControlItem )
C++ Builder:
class TVLCommonDisplay : public TSLCustomControlItem
Visual C++ (MFC):
class CTVLCommonDisplay : public CTSLCustomControlItem
C# (.NET):
public ref class CommonDisplay : Mitov.VideoLab.CustomControlItem
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
- 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.