Implements the IMasterFormsRepository interface for Master Forms stored on local disk.
Syntax
public class DiskMasterFormsRepository : IMasterFormsRepository
Public Class DiskMasterFormsRepository
Implements IMasterFormsRepository
public class DiskMasterFormsRepository
implements IMasterFormsRepository
public ref class DiskMasterFormsRepository : public IMasterFormsRepository
This class is the LEADTOOLS implementation for the IMasterFormsRepository interface for Master Forms stored on the local disk. You can create your own custom implementation in case your storage requirements are different.
The source code for this interface implementation class is available at <Install Directory>\Examples\DotNet\CS\AutoMasterFormsRepository.
This implementation assumes that Master Forms are stored inside directories, each directory represent a category, the repository is the top directory that contains all Master Forms and their directories. Each Master Form has three files (one mandatory and two optional). The mandatory file is the attributes file stored using the Master Form with extension ".bin". The first optional file is Processing fields file, it is needed if the Master Form has fields to be processed and it is stored using the Master Form name with extension ".xml". The second optional file is the image file, it is stored using the Master Form file name with extension ".tif" usually images are stored as 1-bit black and white.
DiskMasterFormsRepository will have the Master Forms and Categories organized in the same way that they are stored on the local disk. If any modification is done to the local disk such as adding/deleting file and categories without using Leadtools.Forms.Auto, Refresh should be called to reflect these change to the IMasterFormsRepository object.
For an example, refer to AutoFormsEngine.Run(RasterImage form, PageRequestCallback pageRequestCallback, Object userData, List<IMasterFormsCategory>).
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
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.