Summary

Home

Properties
Home

In addition to the usual properties of almost any control (Align, BackColor, Enabled, Height, Width, Top, Left, Visible, ToolTipText etc...) OrdoPDFReader has specific properties to manipulate  PDF files


DisplayedPage Property

Returns or sets the page number displayed within the loaded document.

Syntax

object. DispayedPage [= number]

The object placeholder represents an OrdoPDFReader control

Values

number is an Integer

Remarks
  • This property cannot be changed if no PDF document is loaded and is set to 0
  • number can only take as a minimum value of 1 and maximum value of the number of pages in the document. If a number is assigned outside this interval, the value of number is set to 1 if less, and the number of pages if greater.

IsPDFButtonVisible Property

Returns or sets whether the button  (to invoke a file picker to load a PDF file) is visible or not

Syntax

object. IsPDFButtonVisible [= Value]

The object placeholder represents an OrdoPDFReader control

Values

Value: The property values are as follows:

Value Description
True The button is visible
False The button is hidden

IsStatusBarVisible Property

Returns or sets whether the statusbar   for navigating in the document is visible or not

Syntax

object. IsStatusBarVisible [= Value]

The object placeholder represents an OrdoPDFReader control

Values

Value: The property values are as follows:

Value Description
True The status bar is visible
False The status bar is hidden

IsToolbarVisible Property

Returns or sets whether or not the toolbar  for zooming and extracting text from the document is visible

Syntax

object. IsToolbarVisible [= Value]

The object placeholder represents an OrdoPDFReader control

Values

Value: The property values are as follows:

Value Description
True The toolbar is visible
False The toolbar is hidden

LanguageUsed Property

Returns or sets the language chosen for control localization and character recognition

Syntax

object. LanguageUsed[= string]

The object placeholder represents an OrdoPDFReader control

Values

string is a string

The possible values are

  • auto: the control adapts to the language of the operating system (Windows®) or selects English if it does not know it
  • eng : English
  • fra : French
  • deu: German
  • ndl: Dutch
  • ita: Italian
  • spa: Spanish
  • por: Portuguese
Remarks
  • Any value other than the previous values is equivalent to English: eng

TesseractPath Property

Returns or sets the installation path of Tesseract OCR software

Syntax

object. TesseractPath [= string]

The object placeholder represents an OrdoPDFReader control

Values

string is a string representing the installation path of the Tesseract OCR software

Remarks
  • If this property is empty the control uses the path of the OCR program installed with the control. Changing this value allows you to use an alternative version of the Tesseract OCR software

Zoom Property

Returns or sets the zoom value for the PDF document display

Syntax

object. DispayedPage [= number]

The object placeholder represents an OrdoPDFReader control

Values

number is a Double representing the zoom percentage

Remarks
  • This property cannot be changed if no PDF document is loaded and is set to 100
  • The maximum zoom value is where a screen pixel corresponds to a point in the document