Table of contents

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

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" 
}

This page is compatible for:

Is this page helpful?

YesYes NoNo

In this article: