Knowledge Base and examples

Knowledge Base - Useful settings for the reader

This article shows you some useful settings for the reader (taken from Global class).

I suggest you to check the settings variables in default_config() method of Global class that is called when you activate the license (Init method).

 

setAnnotTransparency(int color)

Changes the background of all the annots.

If you want to make them transparent setAnnotTransparency(0x00000000)

 

inkColor

Changes the color of ink annots

 

inkWidth

Changes the width of ink annots

 

selColor

Changes the selection color

 

findPrimaryColor

Changes the color of the selected find item

 

findSecondaryColor

Changes the color of the others find items

 

selRTOL

Defines if the text selection starts from right to left or the opposite

 

zoomLevel

Defines the zoom level from 2 to 5

 

zoomStep

Defines the double tap zoom step

 

fling_dis

Defines the fling distance from 0.5 to 2

 

fling_speed

Defines the fling speed from 0.1 to 0.4

 

def_view

Defines the view of the reader 

0 : vertical

1 : horizontal

2 : curl effect (another curl class http://www.radaeepdf.com/support/knowledge-base?view=kb&tmpl=component&kbartid=21)

3 : single page

4 : SingleEx

5 : Text Reflow

6 : Two pages in landscape

 

render_mode

Defines the render quality

0 : draft

1 : normal

2 : best

 

dark_mode

Changes the reader mode to dark

 

debug_mode

Enables or not the debug mode (Avial Memory message)

 

save_thumb_in_cache

Defines if the library must save the first page of the pdf in cache or not

 

 

Applies To

RadaeePDF SDK for Android

Details

Created : 2016-11-10 15:01:54, Last Modified : 2016-11-22 10:20:24