ScrapeControlBase Class
Definition
- Namespace:
UiPath.OCR.Contracts.Scrape - Assembly:
UiPath.OCR.Contracts
Description
The user control is shown to the user when the owning OCRScrapeBase is selected for scraping.
Members
Constructors
ScrapeControlBase()- The constructor method.
Methods
GetErrors(string)System.Collections.IEnumerable- Gets the validation errors for a specified property or for the entire entity.
Properties
ExtractWordsInfobool- Gets or sets if the words should be extracted.HasErrorsbool- Gets a value that indicates whether the entity has validation errors.OcrLanguagestring- Gets or sets the desired language used for performing the OCR action.Scaleint- Gets or sets the scale at which the input image should be resized for better results.Usage- Gets or sets the supported scrape engine usages.
Virtual events
ErrorsChangedSystem.EventHandler<System.ComponentModel.DataErrorsChangedEventArgs>- Occurs when the validation errors have changed for a property or for the entire entity.
Code Sample
internal partial class SampleScrapeControl : ScrapeControlBase
{
public string SampleInput { get; set; }
public SampleScrapeControl()
{
InitializeComponent();
DataContext = this;
}
}