public IMasterFormsCategory Parent { get; }
public IMasterFormsCategory getParent();
public:
property IMasterFormsCategory^ Parent {
IMasterFormsCategory^ get();
}
Parent # get (DiskMasterFormsCategory)
Return the parent category of this DiskMasterFormsCategory.
The source code for this interface implementation class is available at <INSTALLDIR>\Examples\Forms\DotNet\AutoMasterFormsRepository
.
Parent is the DiskMasterFormsCategory that has this category in its ChildCategories.
If the parent is null that means this category is the root category of the repository.
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;
using Leadtools.Forms;
public void AutoFormsDeleteCategory(DiskMasterFormsRepository repository, string name)
{
DeleteCategory(repository.RootCategory, name);
}
public void DeleteCategory(IMasterFormsCategory category, string name)
{
if (category.Name == name && category.Parent != null)
category.Parent.DeleteChildCategory(category);
foreach (IMasterFormsCategory childCategory in category.ChildCategories)
{
DeleteCategory(childCategory, name);
}
}
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document