←Select platform

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++
Java
public IMasterFormsCategory AddChildCategory( 
   string name 
) 
  
Public Function AddChildCategory( _ 
   ByVal name As String _ 
) As IMasterFormsCategory 
public IMasterFormsCategory addChildCategory( 
   java.lang.String 
); 
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 21.0.2021.6.30
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Forms.Auto Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.