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



This method allows you to reset the format buffer and free the memory allocated to it.

Syntax

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

Remarks

This method allows you to reset the format buffer and free the memory allocated to it. It is equivalent to setting the MediaType.FormatSize property to zero or setting the MediaType.Format property to null. After you call this method, MediaType.FormatSize returns 0 and MediaType.Format returns null.

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