activities
latest
false
- Overview
- Document Processing Contracts
- Release notes
- About the Document Processing Contracts
- Box Class
- IPersistedActivity interface
- PrettyBoxConverter Class
- IClassifierActivity Interface
- IClassifierCapabilitiesProvider Interface
- ClassifierDocumentType Class
- ClassifierResult Class
- ClassifierCodeActivity Class
- ClassifierNativeActivity Class
- ClassifierAsyncCodeActivity Class
- ClassifierDocumentTypeCapability Class
- ExtractorAsyncCodeActivity Class
- ExtractorCodeActivity Class
- ExtractorDocumentType Class
- ExtractorDocumentTypeCapabilities Class
- ExtractorFieldCapability Class
- ExtractorNativeActivity Class
- ExtractorResult Class
- ICapabilitiesProvider Interface
- IExtractorActivity Interface
- ExtractorPayload Class
- DocumentActionPriority Enum
- DocumentActionData Class
- DocumentActionStatus Enum
- DocumentActionType Enum
- DocumentClassificationActionData Class
- DocumentValidationActionData Class
- UserData Class
- Document Class
- DocumentSplittingResult Class
- DomExtensions Class
- Page Class
- PageSection Class
- Polygon Class
- PolygonConverter Class
- Metadata Class
- WordGroup Class
- Word Class
- ProcessingSource Enum
- ResultsTableCell Class
- ResultsTableValue Class
- ResultsTableColumnInfo Class
- ResultsTable Class
- Rotation Enum
- SectionType Enum
- WordGroupType Enum
- IDocumentTextProjection Interface
- ClassificationResult Class
- ExtractionResult Class
- ResultsDocument Class
- ResultsDocumentBounds Class
- ResultsDataPoint Class
- ResultsValue Class
- ResultsContentReference Class
- ResultsValueTokens Class
- ResultsDerivedField Class
- ResultsDataSource Enum
- ResultConstants Class
- SimpleFieldValue Class
- TableFieldValue Class
- DocumentGroup Class
- DocumentTaxonomy Class
- DocumentType Class
- Field Class
- FieldType Enum
- LanguageInfo Class
- MetadataEntry Class
- TextType Enum
- TypeField Class
- ITrackingActivity Interface
- ITrainableActivity Interface
- ITrainableClassifierActivity Interface
- ITrainableExtractorActivity Interface
- TrainableClassifierAsyncCodeActivity Class
- TrainableClassifierCodeActivity Class
- TrainableClassifierNativeActivity Class
- TrainableExtractorAsyncCodeActivity Class
- TrainableExtractorCodeActivity Class
- TrainableExtractorNativeActivity Class
- Document Understanding Digitizer
- Document Understanding ML
- Document Understanding OCR Local Server
- Document Understanding
- Release notes
- About the Document Understanding activity package
- Project compatibility
- Set PDF Password
- Merge PDFs
- Get PDF Page Count
- Extract PDF Text
- Extract PDF Images
- Extract PDF Page Range
- Extract Document Data
- Create Validation Task and Wait
- Wait for Validation Task and Resume
- Create Validation Task
- Classify Document
- Create Classification Validation Task
- Create Classification Validation Task and Wait
- Wait for Classification Validation Task and Resume
- Intelligent OCR
- Release notes
- About the IntelligentOCR activity package
- Project compatibility
- Configuring Authentication
- Load Taxonomy
- Digitize Document
- Classify Document Scope
- Keyword Based Classifier
- Document Understanding Project Classifier
- Intelligent Keyword Classifier
- Create Document Classification Action
- Wait For Document Classification Action And Resume
- Train Classifiers Scope
- Keyword Based Classifier Trainer
- Intelligent Keyword Classifier Trainer
- Data Extraction Scope
- Document Understanding Project Extractor
- RegEx Based Extractor
- Form Extractor
- Intelligent Form Extractor
- Present Validation Station
- Create Document Validation Action
- Wait For Document Validation Action And Resume
- Train Extractors Scope
- Export Extraction Results
- ML Services
- OCR
- OCR Contracts
- Release notes
- About the OCR Contracts
- Project compatibility
- IOCRActivity Interface
- OCRAsyncCodeActivity Class
- OCRCodeActivity Class
- OCRNativeActivity Class
- Character Class
- OCRResult Class
- Word Class
- FontStyles Enum
- OCRRotation Enum
- OCRCapabilities Class
- OCRScrapeBase Class
- OCRScrapeFactory Class
- ScrapeControlBase Class
- ScrapeEngineUsages Enum
- ScrapeEngineBase
- ScrapeEngineFactory Class
- ScrapeEngineProvider Class
- OmniPage
- PDF
- [Unlisted] Abbyy
- [Unlisted] Abbyy Embedded
Box Class
Document Understanding Activities
Last updated Nov 26, 2024
Box Class
Box is a public class representing a rectangle, employed for highlighting and positional referencing.
- Namespace:
UiPath.DocumentProcessing.Contracts
- Assembly:
UiPath.DocumentProcessing.Contracts
Box
is a public class that represents a rectangle, used for evidencing and
positional referencing, throughout the entire assembly. When serialized, a Box is
stored as an array of four double
values, representing the [Top,
Left, Width and Height] of the respective Box object.
Methods
CreateChecked
(double Top, double left, double Width,double Height
) - A static method that returns an instance of theBox
class with the properties provided as arguments. This method checks that all provided values are greater than 0, to ensure valid objects are created.CreateSize
(double Width, double Height
) - A static method that creates an instance of theBox
class with a(0,0)
position and the width and height that are provided as arguments.CreateUnchecked
(double Top, double left, double Width, double Height
) - A static method that returns an instance of theBox
class with the properties provided as arguments. This method does not perform any sanity checks on the arguments.CreateUncheckedWithNoRounding
(double Top, double Left,double Width, double Height
) - A static method that returns an instance of theBox
class with the properties provided as arguments. This method does not perform any sanity checks or rounding on the arguments.Equals
(object Box
) - Checks if the argument is a box and if its properties are equal. Returns a boolean value.Equals
(Box Box
) - Checks if the object is equal to the argument, property-wise.GetHashCode()
- Returns the hash code for the instance.operator !=
(Box Box
) - A static method that returnsTrue
if the two boxes have different property values.operator == (Box Box)
- A static method that returnsTrue
if the two boxes have equal property values.
Properties
Area
double
- The area of the box.Bottom
double
-The bottom position of the box.Height
double
- The height of the box.HorizontalCenter
double
- The horizontal center of the box, asLeft + Width / 2
.IsEmpty
double
- Specifies whether theBox
equalsBox.None
, property-wise.Left
double
- The left margin of the box.Right
double
- The right margin position of the box.Top
double
- The top position of the box.VerticalCenter
double
- The vertical center of the box, asTop + Height / 2
.Width
double
- The width of the box.None
- A static read-only that returns a newBox
instance with top, left, width and height equal to 0.