Class VLDSVideoPreviewDock.TVLDSVideoPreviewDock

From Mitov Wiki Doc
(Difference between revisions)
Jump to: navigation, search
(Automated Syncronization with Documentation)
 
(Automated Syncronization with Documentation)
Line 51: Line 51:
 
   PreviewDock.Open( m_ImageDisplay.m_hWnd );
 
   PreviewDock.Open( m_ImageDisplay.m_hWnd );
 
</code>
 
</code>
 +
 +
<b>Diagram:</b>
 +
 +
[[Image:VLDSVideoPreviewDock_Preview.png]]
  
 
== Methods ==
 
== Methods ==
Line 70: Line 74:
 
*[[Property VLCommonDisplay.TVLCommonDisplay.Center|Center]] - Center the image in the display.  
 
*[[Property VLCommonDisplay.TVLCommonDisplay.Center|Center]] - Center the image in the display.  
 
*[[Property VLCommonDisplay.TVLCommonDisplay.Stretch|Stretch]] - Stretch the image to the display size.  
 
*[[Property VLCommonDisplay.TVLCommonDisplay.Stretch|Stretch]] - Stretch the image to the display size.  
 +
*[[Property VLCommonDisplay.TVLCommonDisplay.StretchMax|StretchMax]] - Stretches the image to fill completely the frame, while preserving the aspect ration.
 
*[[Property VLCommonDisplay.TVLCommonDisplay.Proportional|Proportional]] - Keep the image proportional(Preserve aspect ratio).  
 
*[[Property VLCommonDisplay.TVLCommonDisplay.Proportional|Proportional]] - Keep the image proportional(Preserve aspect ratio).  
 
*[[Property VLCommonDisplay.TVLCommonDisplay.Color|Color]]
 
*[[Property VLCommonDisplay.TVLCommonDisplay.Color|Color]]
Line 103: Line 108:
  
 
=== Public ===
 
=== Public ===
 +
*[[Method function SLControlCollection.TSLCustomControlItem.GetParentComponent() : TComponent|function GetParentComponent() : TComponent]]
 +
*[[Method function SLControlCollection.TSLCustomControlItem.HasParent() : Boolean|function HasParent() : Boolean]]
 
*[[Method procedure SLControlCollection.TSLCustomControlItem.SetParent(TWinControl)|procedure SetParent(AParent : TWinControl)]]
 
*[[Method procedure SLControlCollection.TSLCustomControlItem.SetParent(TWinControl)|procedure SetParent(AParent : TWinControl)]]
 
*[[Method function SLControlCollection.TSLCustomControlItem.GetHasEnable() : Boolean|function GetHasEnable() : Boolean]]
 
*[[Method function SLControlCollection.TSLCustomControlItem.GetHasEnable() : Boolean|function GetHasEnable() : Boolean]]
 
*[[Method function SLControlCollection.TSLCustomControlItem.GetCanDisable() : Boolean|function GetCanDisable() : Boolean]]
 
*[[Method function SLControlCollection.TSLCustomControlItem.GetCanDisable() : Boolean|function GetCanDisable() : Boolean]]
 
*[[Method procedure SLControlCollection.TSLCustomControlItem.SetParentComponent(TComponent)|procedure SetParentComponent(AValue : TComponent)]]
 
*[[Method procedure SLControlCollection.TSLCustomControlItem.SetParentComponent(TComponent)|procedure SetParentComponent(AValue : TComponent)]]
 
== From [[Class LPControl.TLPCustomControl|TLPCustomControl]] ==
 
 
== Properties ==
 
 
=== Published ===
 
*[[Property LPControl.TLPCustomControl.Visible|Visible]]
 
 
== Methods ==
 
 
=== Public ===
 
*[[Method procedure LPControl.TLPCustomControl.InvalidateIntRect(TRect)|procedure InvalidateIntRect(ARect : TRect)]]
 
 
== Events ==
 
*[[Event LPControl.TLPCustomControl.OnMouseEnter|OnMouseEnter]]
 
*[[Event LPControl.TLPCustomControl.OnMouseLeave|OnMouseLeave]]
 
  
 
[[Category:Controls]][[Category:Classes]]
 
[[Category:Controls]][[Category:Classes]]

Revision as of 20:28, 10 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.

BIGVLDSVideoPreviewDock.gif VLDSVideoPreviewDock.gif NETVLDSVideoPreviewDock.gif

Package: VideoLabBasicPkg

Unit: VLDSVideoPreviewDock

Inherits: TVLCommonDisplay

Contents

Syntax

Delphi:

type TVLDSVideoPreviewDock = class( TVLCommonDisplay, IDSPreviewDock )

C++ Builder:

class TVLDSVideoPreviewDock : public TVLCommonDisplay

Visual C++ (MFC):

class CTVLDSVideoPreviewDock : public CTVLCommonDisplay

C# (.NET):

public ref class TVLDSVideoPreviewDock : Mitov.VideoLab.CommonDisplay

Summary

Docking location for video preview.

Description

Allows video preview windows from TVLDSCapture, TVLDSVideoPlayer and some other DirectShow components to be docked inside. The video preview feature is mainly used for debug purposes, but may also be usefully for showing the direct input from video capturing devices.


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!

  CTVLDSVideoPreviewDock PreviewDock;
  PreviewDock.Open( m_ImageDisplay.m_hWnd );

Diagram:

VLDSVideoPreviewDock Preview.png

Methods

Public

Pins

From TVLCommonDisplay

Properties

Published

Public

Methods

Public

Events

From TSLCustomControlItem

Properties

Public

Methods

Public

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox