Resource Base
Table of contents

Thanks for downloading Dynamsoft Barcode Reader Package!

Your download will start shortly. If your download does not begin, click here to retry.

DSRegionObjectElement

The DSRegionObjectElement class represents a basic element of a region object, including its type, location and reference to another element.

Definition

Assembly: DynamsoftCore.framework

  • Objective-C
  • Swift
  1. @interface DSRegionObjectElement : NSObject
    
  2. class RegionObjectElement : NSObject
    

Methods

Method Description
getLocation Gets the location of the region object, represented as a quadrilateral.
setLocation Sets the location of the region object.
getReferencedElement Gets the referenced element that supports the capturing of this element.
getRegionObjectElementType Gets the type of the region object element, defined by the enumeration DSRegionObjectElementType.

getLocation

Gets the location of the region object, represented as a Quadrilateral.

  • Objective-C
  • Swift
  1. -(DSQuadrilateral*)getLocation;
    
  2. func getLocation() -> DSQuadrilateral?
    

Return Value

The location info of the element that defined in DSQuadrilateral.

setLocation

Sets the location of the region object.

  • Objective-C
  • Swift
  1. -(void)setLocation:(DSQuadrilateral *)location;
    
  2. func setLocation(_ location: DSQuadrilateral?)
    

Parameters

location: The location info of the element that defined in DSQuadrilateral.

getReferencedElement

Get the referenced element that supports the capturing of this element.

  • Objective-C
  • Swift
  1. -(nullable DSRegionObjectElement*)getReferencedElement;
    
  2. func getReferencedElement() -> RegionObjectElement?
    

Return Value

The referenced element that supports the capturing of this element.

getRegionObjectElementType

Gets the type of the region object element, defined by the enumeration DSRegionObjectElementType.

  • Objective-C
  • Swift
  1. -(DSRegionObjectElementType)getRegionObjectElementType;
    
  2. func getRegionObjectElementType() -> RegionObjectElementType
    

Return Value

The type of the region object element.

This page is compatible for:

Version 1.0

Is this page helpful?

YesYes NoNo

In this article:

latest version

  • Latest version
  • Version 2.x
    • Version 2.2.10
    • Version 2.0.21
    • Version 2.0.20
    • Version 2.0.10
    • Version 2.2.10
    • Version 2.0.21
    • Version 2.0.20
    • Version 2.0.10
  • Version 1.x
    • Version 1.2.1
    • Version 1.2.0
    • Version 1.1.0
    • Version 1.0.0
    • Version 1.0.4
    • Version 1.0.3
    • Version 1.0.2
    • Version 1.0.1
    • Version 1.0.0
    • Version 1.1.11
    • Version 1.1.9
    • Version 1.1.8
    • Version 1.1.7
    • Version 1.1.6
    • Version 1.1.5
    • Version 1.1.4
    • Version 1.1.3
    • Version 1.1.2
    • Version 1.1.1
    • Version 1.1.0
    • Version 1.0.0
    • Version 1.0.4
    • Version 1.0.3
    • Version 1.0.2
    • Version 1.0.1
    • Version 1.0.0
Change +
© 2003–2024 Dynamsoft. All rights reserved.
Privacy Statement / Site Map / Home / Purchase / Support