Constructors
constructor
- new PageView(fxPageView: fxPageView): PageView
Properties
fxPageView
fxPageView: fxPageView
Methods
deviceToRect
- deviceToRect(deviceRect: Rect): Promise<Rect>
-
Parameters
Returns Promise<Rect>
getClientPoint
- getClientPoint(x: number, y: number): Promise<[number, number]>
-
Parameters
Returns Promise<[number, number]>
getCurrentMatrix
- getCurrentMatrix(): Promise<Matrix>
getCurrentVisibleRect
- getCurrentVisibleRect(): Promise<VisibleRect>
-
Returns Promise<VisibleRect>
getDoc
- getDoc(): Promise<null | Doc>
-
Returns Promise<null | Doc>
getDocView
- getDocView(): Promise<null | DocView>
getPageIndex
- getPageIndex(): Promise<number>
getPageInfoByIndex
- getPageInfoByIndex(pageNum?: number): Promise<Object>
-
Parameters
Returns Promise<Object>
page info.
getPageRect
- getPageRect(): Promise<Rect>
getPageScale
- getPageScale(): Promise<number>
getPageVisibleRect
- getPageVisibleRect(): Promise<Rect>
rectToDevice
- rectToDevice(pdfRect: Rect): Promise<Rect>
-
Parameters
Returns Promise<Rect>
viewerPointToPDFPoint
- viewerPointToPDFPoint(x: number, y: number): Promise<{ x: number; y: number }>
-
Parameters
Returns Promise<{ x: number; y: number }>
Represents the view of PDF Page in the app.