OnResizeVideo
TVideoGrabber.OnResizeVideo |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Occurs when the video source size changes.
Declaration
property OnResizeVideo: TOnResizeVideo read FOnResizeVideo write FOnResizeVideo;
__property TOnResizeVideo OnResizeVideo=read=FOnResizeVideo, write=FOnResizeVideo
Event OnResizeVideo(SourceWidth As Long, SourceHeight As Long)
Description
Unlike OnResize, that occurs when the video window is resized, this TOnResizeVideo event occurs when the video source size changes, even if Display_AutoSize is disabled.
See Also
TOnFrameProgress TOnResizeVideo AutoRefreshPreview BackgroundColor Display_AutoSize Display_FullScreen Display_SetLocation Display_VideoPortEnabled ImageRatio InFrameProgressEvent IsVideoInterlaced IsVideoPortAvailable OnFrameProgress OnKeyPress OnPreviewStarted PausePreview PreviewZoomSize ResumePreview StartPreview StartSynchronized StopPreview Synchronized UseNearestVideoSize VideoHeight VideoRenderer VideoWidth Visible