Class TDSVideoWindowEx2
Unit
DSPack
Declaration
type TDSVideoWindowEx2 = class(, , )
Description
A alternative to the regular Video Renderer (TVideoWindow), that give a easy way to overlay graphics onto your video in your application.Methods
Overview
Description
 |
constructor Create(AOwner: TComponent); override; |
constructor method.
 |
destructor Destroy; override; |
destructor method.
 |
procedure ClearBack; |
Clear the graphic ontop of DSVideoWindowEx.
 |
procedure NormalPlayback; |
Return to normal window playback from Fullscreen or Desktop mode.
 |
procedure StartDesktopPlayBack(OnMonitor : TMonitor); overload; |
Use your Desktop as the Video renderer. The video will display as a "wallpaper" on your Desktop on the specifyed monitor
 |
procedure StartDesktopPlayback; overload; |
Use your Desktop as the Video renderer. The video will display as a "wallpaper" on your Desktop
 |
procedure StartFullScreen(OnMonitor : TMonitor); overload; |
Start playback in fullscreen on specifyed Monitor
 |
procedure StartFullScreen; overload; |
Start playback in fullscreen
Properties
Overview
Description
 |
property AspectRatio: TRatioModes; |
The AspectRatio property sets the aspect ratio correction mode for window resizing. rmSTRETCHED : No aspect ratio correction. rmLETTERBOX : Put the video in letterbox format. Paint background color in the excess region so the video is not distorted. rmCROP : Crop the video to the correct aspect ratio.
 |
property AutoHideCursor: Integer; |
Set the amounts of milliseconds befor the cursor is hidden, if it is not moved. Setting the value to 0 will disable this feature.
 |
property Canvas; |
WARNING: @inherited
 |
property Capabilities: TDSVideoWindowEx2Caps; |
TDSVideoWindowEx2Caps
 |
property Color; |
 |
property ColorControl: TColorControl; |
TColorControl
 |
property ColorKey: TColor; |
The Colorkey is the color that the Overlay Mixer Filter used by DSVideoWindowEx sees as transparent, when you draw ontop of the movie always set the canvas’s brush color to this color or set the style to bsclear. Note: The colors returned through this method vary depending on the current display mode. if the colors are 8-bit palettized, they will be bright system colors (such as magenta). if the display is in a true-color mode, they will be shades of black.
 |
property DesktopPlayback: Boolean; |
repporting if you are currently playing on the Desktop.
 |
property DigitalZoom: Integer; |
Specify a Zoom factor from 0 to 99 procent.
 |
property FilterGraph: TFilterGraph; |
The TFilterGraph
component
 |
property FullScreen: boolean; |
repporting if you are currently playing in fullscreen.
 |
property FullScreenTopMost: boolean; |
Select if the VideoWindow it topmost or not.
 |
property NoScreenSaver: Boolean; |
Setting this to true will prevent the screen to go into screensaver or powerdown.
 |
property OnColorKeyChanged: TNotifyEvent; |
Event to tell the main application that the Colorkey has changed. Note: if you have controls placed ontop of your VideoWindow that need to act as transparent, set there color to the same as the Colorkey.
 |
property OnCursorShowHide: TCursorVisibleEvent; |
This event accure when the cursor change from showing to hiding or from hiding to showing.
 |
property OnOverlayVisible: TOverlayVisibleEvent; |
This event accure when the Visible state of the overlay changes Note: Most used to hide the video in the player window when going to DesktopPlayback.
 |
property OnPaint: TNotifyevent; |
 |
property OverlayVisible: Boolean; |
Check this property to see if the overlay is visible when you draw on DSVideoWindowEx's canvas, if it is visible you should set your brush color to the same as the VideoColor and if not set your brush to the same color as DSVideoWindowEx color.
Generated by DIPasDoc 0.8.0 on Sun 1 Jun 2003 23:53:07