←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#
C++/CLI
Java
Python
public IMasterFormsCategory AddChildCategory( 
   string name 
) 
public IMasterFormsCategory addChildCategory( 
   java.lang.String 
); 
public: 
IMasterFormsCategory^ AddChildCategory(  
   String^ name 
)  
def AddChildCategory(self,name): 

Parameters

name
Category Name.

Return Value

Returns the created IMasterFormsCategory object.

Remarks

The source code for this interface implementation class is available at <INSTALLDIR>\Examples\Forms\DotNet\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#
using Leadtools; 
using Leadtools.Codecs; 
using Leadtools.Forms.Common; 
using Leadtools.Forms.Auto; 
using Leadtools.Document; 
using Leadtools.Ocr; 
using Leadtools.Forms.Recognition; 
using Leadtools.Forms.Processing; 
using Leadtools.Barcode; 
 
 
 
public void AutoFormsAddCategory(IMasterFormsCategory category, string name) 
{ 
   category.AddChildCategory(name); 
} 
Requirements

Target Platforms

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

Leadtools.Forms.Auto Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.