AddChildCategory Method

Summary

Adds a new sub-category (child category) to this category on both the local disk and in ChildCategories.

Syntax
C#
VB
C++
public IMasterFormsCategory AddChildCategory( 
   string name 
) 
  
Public Function AddChildCategory( _ 
   ByVal name As String _ 
) As IMasterFormsCategory 
public: 
IMasterFormsCategory^ AddChildCategory(  
   String^ name 
)  

Parameters

name
Category Name.

Return Value

Returns the created IMasterFormsCategory object.

Remarks

The source code for this interface implementation class is available at <Install Directory>\Examples\DotNet\CS\AutoMasterFormsRepository.

A directory will be created on the local disk inside this category Path with name name. This created category object will be added to ChildCategories.

Example
C#
VB
using Leadtools; 
using Leadtools.Codecs; 
using Leadtools.Forms.Common; 
using Leadtools.Forms.Auto; 
using Leadtools.Ocr; 
using Leadtools.Forms.Recognition; 
using Leadtools.Forms.Processing; 
using Leadtools.Barcode; 
 
 
public void AutoFormsAddCategory(IMasterFormsCategory category, string name) 
{ 
   category.AddChildCategory(name); 
} 
Imports Leadtools 
Imports Leadtools.Codecs 
Imports Leadtools.Forms.Common 
Imports Leadtools.Forms.Auto 
Imports Leadtools.Ocr 
Imports Leadtools.Forms.Recognition 
Imports Leadtools.Forms.Processing 
Imports Leadtools.Barcode 
 
Public Sub AutoFormsAddCategory(ByVal category As IMasterFormsCategory, ByVal name As String) 
   category.AddChildCategory(name) 
End Sub 

Requirements

Target Platforms

Help Version 20.0.2019.9.19
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2019 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Forms.Auto Assembly