Knowledge Base - Vertically center pages when rendering mode = single (3)

If you're rendering a document with def_view = 3 (single page) the default behavior is to align the page on the topmost margin of the display.

In some case you would like to vertically center the page.

Look for the code below:

view.vSetLayoutPara(null, paras, m_rtol, true);
and modify with:

view.vSetLayoutPara(null, paras, m_rtol, false);
Applies To

RadaeePDF SDK for Android


Created : 2015-05-04 15:09:34, Last Modified : 2015-05-04 15:09:44