←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++
public IMasterFormsCategory AddChildCategory( 
   string name 
) 
  
Public Function AddChildCategory( _ 
   ByVal name As String _ 
) As Leadtools.Forms.Auto.IMasterFormsCategory 
public: 
Leadtools.Forms.Auto.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; 
using Leadtools.Forms.Auto; 
using Leadtools.Forms.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 
Imports Leadtools.Forms.Auto 
Imports Leadtools.Forms.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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Forms.Auto Assembly