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



This method allows you to reset the entire media type (format buffer, type, subtype, etc).

Syntax

Visual Basic (Declaration) 
Public Sub ResetMediaType() 
Visual Basic (Usage)Copy Code
Dim instance As MediaType
 
instance.ResetMediaType()
C# 
public void ResetMediaType()
C++/CLI 
public:
void ResetMediaType(); 

Remarks

This method allows you to reset the entire media type (format buffer, type, subtype, etc). All the values set through any MediaType properties are reset to defaults. You would typically call this method if you want to start building the media type all over without freeing the existing interface and recreating a new one.

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