Thanks for downloading Dynamsoft Barcode Reader Package!
Your download will start shortly. If your download does not begin, click here to retry.
ResultCoordinateType
ResultCoordinateType
defines the returned coordinate type.
Candidate Mode List
- RCT_PIXEL
- RCT_PERCENTAGE
RCT_PIXEL
Returns the coordinate in pixel value.
RCT_PERCENTAGE
Returns the coordinate as a percentage value.
Setting Methods
ResultCoordinateType
is supported to be set through RuntimeSetting
or JSON template.
As PublicRuntimeSettings
Member
ResultCoordinateType
can be set dynamically during runtime as a member of PublicRuntimeSettings
struct, it is one of the ResultCoordinateType
Enumeration items.
Code Snippet in C++
//...other codes
PublicRuntimeSettings* pSettings = new PublicRuntimeSettings;
int errorCode = reader->GetRuntimeSettings(pSettings);
pSettings->resultCoordinateType = RCT_PERCENTAGE;
reader->UpdateRuntimeSettings(pSettings);
delete pSettings;
//...other codes
See Also
PublicRuntimeSettings:
JavaScript | C | C++ | .NET | Python | Java | Java-Android | Objective-C & SwiftResultCoordinateType:
JavaScript | C | C++ | .NET | Python | Java | Java-Android | Objective-C & Swift
As JSON Parameter
ResultCoordinateType
as a JSON parameter is a string value defined as below.
Key Name | Key Value |
---|---|
ResultCoordinateType | Any one in ResultCoordinateType Enumeration as string |
JSON Parameter Example
{
"ResultCoordinateType": "RCT_PERCENTAGE"
}