Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
GetFxSystemServices()->GetHostAppServices()->setDYNASNAPSIZE( YOUR_SIZEDYNASNAPSIZE );

Note: The ESnap box size varies with the display resolution to the Android device. We recommend to update the value YOUR_DYNASNAPSIZE with the Android display metrics and apply the correct device dependent multiplier. This ensure the ESnap box will have the same size on all devices.

Code Block
Resources res = m_ARES.getResources();
int iDynsnapSize = (int) TypedValue.applyDimension(
TypedValue.COMPLEX_UNIT_DIP, 20YOUR_DYNASNAPSIZE, res.getDisplayMetrics() );

...

Code Block
ACTIVE_DOCUMENT()->GetFxDatabase()->setPDSIZE( YOUR_SIZEPDSIZE );
ACTIVE_DOCUMENT()->GetFxDatabase()->setPDMODE( YOUR_MODEPDMODE );

Hint: Use ARES Commander to get the correct values you want to use inside your mobile application.

...