Frequently Asked Question
This article shows you some useful reader's settings.
You could find them in RDVGlobal class:
Deprecated property name | Property name (3.60 +) | Type | Effect |
pdfName | g_pdf_name | string | Define opened pdf's name |
pdfPath | g_pdf_path | string | Define opened pdf's path |
g_annot_lock | boolean | Enable/Disable annot locked property | |
g_annot_readonly | boolean | Enable/Disable annot readonly property | |
g_auto_launch_link | boolean | if true the link action will be performed immediately otherwise the user must click on the play button*/ | |
g_case_sensitive | boolean | Enable/Disable case sensitive on searching | |
g_curl_enabled | boolean | Enable/Disable curl mode | |
g_dark_mode | boolean | Changes the reader mode to dark | |
g_double_page_enabled | boolean | Enable/Disable double page mode | |
g_enable_graphical_signature | boolean | Enable/Disable signature annot management | |
g_execute_annot_JS | boolean | Enable/Disable JS annot's execution | |
g_fit_signature_to_field | boolean | Enable/Disable blank space trimming in the signature bitmap | |
g_highlight_annotation | boolean | Enable/Disable highlighting annotation on selection | |
g_match_whole_word | boolean | Enable/disable matching whole word on searching | |
g_save_doc | boolean | Automatically save the document on close. | |
g_sel_right | boolean | Defines if the text selection starts from right to left or the opposite | |
g_static_scale | boolean | When true it calculates the scale of each page, when false it calculates scale according to the dimensions of the largest page | |
g_ink_width | float | Changes the width of ink annots | |
g_line_width | float | Change line annot's width | |
g_oval_width | float | Change ellipse anno's width | |
g_rect_width | float | Changes rect annot's width | |
g_zoom_level | float | Defines the zoom level from 2 to 5 | |
g_zoom_step | float | Defines the double tap zoom step | |
g_line_annot_style1 | int | Change line annot style for start point | |
g_line_annot_style2 | int | Change line annot style for end point | |
g_navigation_mode | int | Define navigation mode 0 : thumbnail view 1 : seekbar view | |
g_render_mode | int | Defines the view of the reader: 0 : vertical 1 : horizontal 2 : curl mode 3 : single page 4 : SingleEx 5 : Text Reflow 6 : Two pages in landscape | |
g_render_quality | int | Defines the render quality 0 : draft 1 : normal 2 : best | |
g_thumbview_height | int | Defines thumbview height | |
g_annot_highlight_clr | int (hex) | Changes the color of highlight annots | |
g_annot_squiggly_clr | int (hex) | Changes the color of squiggle annots | |
g_annot_strikeout_clr | int (hex) | Changes the color of strikeout annots | |
g_annot_transparency | int (hex) | Changes annotations' transparency | |
g_annot_underline_clr | int (hex) | Change underline annot's color | |
g_ellipse_annot_fill_color | int (hex) | Chages ellipse annot's fill color | |
g_find_primary_color | int (hex) | Changes the color of the selected find item | |
g_ink_color | int (hex) | Changes the color of ink annots | |
g_line_annot_fill_color | int (hex) | Changes line annot's fill color | |
g_line_color | int (hex) | Change line annot's color | |
g_oval_color | int (hex) | Change ellipse annot's color | |
g_paging_enabled | boolean | Enable/Disable paging | |
g_readerview_bg_color | int (hex) | Changes reader view's background color | |
g_rect_annot_fill_color | int (hex) | Changes rect annot's fill color | |
g_rect_color | int (hex) | Changes rect annot's color | |
g_sel_color | int (hex) | Changes the selection color | |
g_screen_awake | boolean | Enable/Disable screen always awake | |
g_swipe_speed | float | Define swipe speed | |
g_swipe_distance | float | Define swipe distance | |
g_thumbview_bg_color | int (hex) | Defines thumbview background color | |
g_author | string | If valorized, will be used to set the annotation author while its creation | |
g_sign_pad_descr | string | Defines description in add signature view |