activities
latest
false
UiPath logo, featuring letters U and I in white
Document Understanding Activities
Last updated Nov 21, 2024

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
  • ExtractWordsInfo bool - Gets or sets if the words should be extracted.
  • HasErrors bool - Gets a value that indicates whether the entity has validation errors.
  • OcrLanguage string - Gets or sets the desired language used for performing the OCR action.
  • Scale int - 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
  • ErrorsChanged System.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;
        }
    }internal partial class SampleScrapeControl : ScrapeControlBase
    {
        public string SampleInput { get; set; }

        public SampleScrapeControl()
        {
            InitializeComponent();
            DataContext = this;
        }
    }
  • Definition
  • Description
  • Members
  • Code Sample

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo White
Trust and Security
© 2005-2024 UiPath. All rights reserved.