LEADTOOLS Multimedia (Leadtools.Multimedia assembly) Send comments on this topic. | Back to Introduction | Help Version 17.0.3.22
SetVideoFormatData Method
See Also 
Leadtools.Multimedia Namespace > MediaType Class : SetVideoFormatData Method



vih
A VideoInfoHeader structure containing the format data to set.
vih
A VideoInfoHeader structure containing the format data to set.
Copies data to the video format buffer.

Syntax

Visual Basic (Declaration) 
Public Sub SetVideoFormatData( _
   ByVal vih As VideoInfoHeader _
) 
Visual Basic (Usage)Copy Code
Dim instance As MediaType
Dim vih As VideoInfoHeader
 
instance.SetVideoFormatData(vih)
C# 
public void SetVideoFormatData( 
   VideoInfoHeader vih
)
C++/CLI 
public:
void SetVideoFormatData( 
   VideoInfoHeader vih
) 

Parameters

vih
A VideoInfoHeader structure containing the format data to set.

Remarks

Copies data to the video format buffer. This is a helper method which internally sets the unmanaged memory size of the VideoInfoHeader structure and then calls MediaType.SetFormatData marshalling the structure to a byte array. If the method fails, an error is raised. For more information, refer to the Error Codes.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also