to View Point
Converts the coordinates stored within point
from the PDF coordinate space of the given pageIndex
to the view coordinate space (i.e. screen pixels). This method modifies point
in place.
This method throws an exception if called before the document has been laid out, or if a conversion for the given pageIndex
is not possible (e.g. requested page number is invalid). See onDocumentLoaded which is called after the document has been loaded, and the document view has been laid out.
Parameters
point
PDF coordinates on the given pageIndex
that should be converted to coordinates of the document view (pixels).
page Index
Target page for the conversion (0
denotes the first page).