LEADTOOLS Forms (Leadtools.Forms.Auto assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
Clear Method
See Also 
Leadtools.Forms.Auto Namespace > IMasterFormsCategory Interface : Clear Method



The Clear Method is available as an add-on to the LEADTOOLS Document and Medical Imaging toolkits.

Removes all Master Forms and sub-categories (child categories) from MasterForms and ChildCategories and deletes them from the storage device.

Syntax

Visual Basic (Declaration) 
Sub Clear() 
Visual Basic (Usage)Copy Code
Dim instance As IMasterFormsCategory
 
instance.Clear()
C# 
void Clear()
C++/CLI 
void Clear(); 

Example

A full example implementation of this interface can be found in <Install Directory>\Examples\DotNet\CS\AutoMasterFormsRepository.

Remarks

This method is supposed to remove all Master Forms and sub-categories inside IMasterFormsCategory object. Deleting them from the storage device is recommended to make the repository represent the actual storage device, if they are not deleted then the next time you create new IMasterFormsRepository or call IMasterFormsRepository.Refresh the Master Forms and the sub-Categories inside this category will show up again.

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

Leadtools.Forms requires a Forms Module license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features