Summary: Methods | Inherited Methods | [Expand All]
public static class

# PDFCompat.PDFViewCtrl

extends Object

java.lang.Object
↳ | com.pdftron.pdf.PDFCompat.PDFViewCtrl

## Summary

Public Methods
static void | CancelAllThumbRequests(long impl)
static void | CancelRendering(long impl)
static void | ClearSelection(long impl)
static double[] | ConvCanvasPtToPagePt(long impl, double x, double y, int page_num)
static double[] | ConvCanvasPtToScreenPt(long impl, double x, double y)
static double[] | ConvPagePtToCanvasPt(long impl, double x, double y, int page_num)
static double[] | ConvPagePtToScreenPt(long impl, double x, double y, int page_num)
static double[] | ConvScreenPtToCanvasPt(long impl, double x, double y)
static double[] | ConvScreenPtToPagePt(long impl, double x, double y, int page_num)
static void | Destroy(long impl)
static void | DestroyFindTextData(long findtext_proc)
static void | DestroyRenderData(long impl, long error_proc, long curr_page_proc, long findtext_proc, long thumb_async_proc, long request_render_worker_proc, long event_proc)
static void | DocLock(long impl, boolean cancel_threads)
static void | DocLockRead(long impl)
static boolean | DocTryLock(long impl, int milliseconds)
static boolean | DocTryLockRead(long impl, int milliseconds)
static void | DocUnlock(long impl)
static void | DocUnlockRead(long impl)
static void | FindTextAsync(long impl, String search_str, boolean match_case, boolean match_whole_word, boolean search_up, boolean reg_exp)
static long | GetAnnotationAt(long impl, int x, int y, double distanceThreshold, double minimumLineWeight)
static long[] | GetAnnotationListAt(long impl, int x1, int y1, int x2, int y2)
static void | GetBuffer(long impl, int[] data)
static int | GetBufferHeight(long impl)
static int | GetBufferStride(long impl)
static int | GetBufferWidth(long impl)
static double | GetCanvasHeight(long impl)
static double | GetCanvasWidth(long impl)
static int | GetColorPostProcessMode(long impl)
static int | GetCurrentPage(long impl)
static long | GetDeviceTransform(long impl, int page_num)
static double | GetHScrollPos(long impl)
static PDFViewCtrl.LinkInfo | GetLinkAt(long impl, int x, int y)
static long | GetOCGContext(long impl)
static int | GetPageNumberFromScreenPt(long impl, double x, double y)
static int | GetPagePresentationMode(long impl)
static int | GetPageViewMode(long impl)
static int | GetPagesCount(long impl)
static int | GetRotation(long impl)
static long | GetScreenRectForAnnot(long impl, long annot, int page_num)
static long | GetSelection(long impl, int pagenum)
static int | GetSelectionBeginPage(long impl)
static int | GetSelectionEndPage(long impl)
static void | GetThumbAsync(long impl, long page_num, ThumbAsyncHandler proc, Object custom_data)
static int | GetToolMode(long impl)
static double | GetVScrollPos(long impl)
static double | GetZoom(long impl)
static boolean | GotoFirstPage(long impl)
static boolean | GotoLastPage(long impl)
static boolean | GotoNextPage(long impl)
static boolean | GotoPreviousPage(long impl)
static boolean | HasSelection(long impl)
static boolean | HasSelectionOnPage(long impl, int page)
static void | InvalidateRect(long impl, long rect)
static boolean | IsFinishedRendering(long impl, boolean visible_region_only)
static void | OnScroll(long impl, int pix_dx, int pix_dy, boolean start_render)
static void | OnSize(long impl, int width, int height, int stride, boolean start_render)
static long[] | PDFViewCtrlCreate2(Object ctrl, Object call)
static void | RotateClockwise(long impl)
static void | RotateCounterClockwise(long impl)
static void | SelectAll(long impl)
static boolean | SelectByHighlights(long impl, long hlts)
static boolean | SelectByRect(long impl, double x1, double y1, double x2, double y2)
static boolean | SelectBySelection(long impl, long sel)
static boolean | SelectByStruct(long impl, double x1, double y1, double x2, double y2)
static String | SelectionGetAsHtml(long impl)
static String | SelectionGetAsUnicode(long impl)
static int | SelectionGetPageNum(long impl)
static double[] | SelectionGetQuads(long impl)
static void | SetAntiAliasing(long impl, boolean enable_aa)
static void | SetBackgroundColor(long impl, byte r, byte g, byte b, byte a)
static void | SetCaching(long impl, boolean enabled)
static void | SetColorPostProcessMode(long impl, int mode)
static boolean | SetCurrentPage(long impl, int page_num)
static long | SetCurrentPageProc(long impl, CurrentPageProc curr_pagenum_proc, Object data)
static void | SetDefaultPageColor(long impl, byte r, byte g, byte b)
static void | SetDevicePixelDensity(long impl, double dpi, double scale_factor)
static void | SetDoc(long impl, long doc)
static void | SetDrawAnnotations(long impl, boolean render_annots)
static long | SetErrorReportProc(long impl, ErrorReportProc error_proc, Object data)
static long | SetFindTextHandler(long impl, Object findtext_proc, Object data)
static void | SetGamma(long impl, double exp)
static void | SetHScrollPos(long impl, double pos)
static void | SetHighlightFields(long impl, boolean highlight_fields)
static void | SetHorizontalAlign(long impl, int align)
static void | SetImageSmoothing(long impl, boolean smoothing_enabled)
static void | SetOCGContext(long impl, long ctx)
static void | SetOverprint(long impl, int op)
static void | SetPageBorderVisibility(long impl, boolean border_visible)
static void | SetPagePresentationMode(long impl, int mode)
static void | SetPageSpacing(long impl, int horiz_col_space, int vert_col_space, int horiz_pad, int vert_pad)
static void | SetPageTransparencyGrid(long impl, boolean trans_grid_visible)
static void | SetPageViewMode(long impl, int mode)
static void | SetPathHinting(long impl, boolean enable_ph)
static void | SetProgressiveRendering(long impl, boolean is_progressive)
static void | SetRasterizerType(long impl, int type)
static long | SetRequestRenderInWorkerThreadProc(long impl, Object proc, Object data)
static void | SetThinLineAdjustment(long impl, boolean pixel_grid_fit, boolean stroke_adjust)
static void | SetUrlExtraction(long impl, boolean enabled)
static void | SetVScrollPos(long impl, double pos)
static void | SetVerticalAlign(long impl, int align)
static void | SetViewerCache(long doc_impl, int max_cache_size, boolean on_disk)
static boolean | SetZoom(long impl, double zoom, boolean start_render)
static boolean | SetZoom(long impl, int x, int y, double zoom, boolean start_render)
static void | SetupThumbnails(long impl, boolean use_embedded, boolean generate_at_runtime, boolean use_disk_cache, int thumb_max_side_length, long max_abs_cache_size, double max_perc_cache_size)
static boolean | ShowRect(long impl, int page_num, long rect)
static boolean | SmartZoom(long impl, int x, int y)
static void | Update(long impl, long rect)
static void | Update(long impl, long annot, int num_page)
static void | Update(long impl, boolean all)
static void | UpdateData(long impl, int[] data, int x, int y)
static void | UpdateField(long impl, long field)
static void | UpdatePageLayout(long impl)

[Expand] Inherited Methods
From class java.lang.Object
boolean | equals(Object arg0)
final Class<?> | getClass()
int | hashCode()
final void | notify()
final void | notifyAll()
String | toString()
final void | wait(long arg0, int arg1)
final void | wait(long arg0)
final void | wait()

## Public Methods

#### public static void CancelAllThumbRequests (long impl)

##### Throws

PDFNetException |

#### public static void CancelRendering (long impl)

##### Throws

PDFNetException |

#### public static void ClearSelection (long impl)

##### Throws

PDFNetException |

#### public static double[] ConvCanvasPtToPagePt (long impl, double x, double y, int page_num)

##### Throws

PDFNetException |

#### public static double[] ConvCanvasPtToScreenPt (long impl, double x, double y)

##### Throws

PDFNetException |

#### public static double[] ConvPagePtToCanvasPt (long impl, double x, double y, int page_num)

##### Throws

PDFNetException |

#### public static double[] ConvPagePtToScreenPt (long impl, double x, double y, int page_num)

##### Throws

PDFNetException |

#### public static double[] ConvScreenPtToCanvasPt (long impl, double x, double y)

##### Throws

PDFNetException |

#### public static double[] ConvScreenPtToPagePt (long impl, double x, double y, int page_num)

##### Throws

PDFNetException |

#### public static void Destroy (long impl)

##### Throws

PDFNetException |

#### public static void DestroyFindTextData (long findtext_proc)

##### Throws

PDFNetException |

#### public static void DestroyRenderData (long impl, long error_proc, long curr_page_proc, long findtext_proc, long thumb_async_proc, long request_render_worker_proc, long event_proc)

##### Throws

PDFNetException |

#### public static void DocLock (long impl, boolean cancel_threads)

##### Throws

PDFNetException |

#### public static void DocLockRead (long impl)

##### Throws

PDFNetException |

#### public static boolean DocTryLock (long impl, int milliseconds)

##### Throws

PDFNetException |

#### public static boolean DocTryLockRead (long impl, int milliseconds)

##### Throws

PDFNetException |

#### public static void DocUnlock (long impl)

##### Throws

PDFNetException |

#### public static void DocUnlockRead (long impl)

##### Throws

PDFNetException |

#### public static void FindTextAsync (long impl, String search_str, boolean match_case, boolean match_whole_word, boolean search_up, boolean reg_exp)

##### Throws

PDFNetException |

#### public static long GetAnnotationAt (long impl, int x, int y, double distanceThreshold, double minimumLineWeight)

##### Throws

PDFNetException |

#### public static long[] GetAnnotationListAt (long impl, int x1, int y1, int x2, int y2)

##### Throws

PDFNetException |

#### public static void GetBuffer (long impl, int[] data)

##### Throws

PDFNetException |

#### public static int GetBufferHeight (long impl)

##### Throws

PDFNetException |

#### public static int GetBufferStride (long impl)

##### Throws

PDFNetException |

#### public static int GetBufferWidth (long impl)

##### Throws

PDFNetException |

#### public static double GetCanvasHeight (long impl)

##### Throws

PDFNetException |

#### public static double GetCanvasWidth (long impl)

##### Throws

PDFNetException |

#### public static int GetColorPostProcessMode (long impl)

##### Throws

PDFNetException |

#### public static int GetCurrentPage (long impl)

##### Throws

PDFNetException |

#### public static long GetDeviceTransform (long impl, int page_num)

##### Throws

PDFNetException |

#### public static double GetHScrollPos (long impl)

##### Throws

PDFNetException |

#### public static PDFViewCtrl.LinkInfo GetLinkAt (long impl, int x, int y)

##### Throws

PDFNetException |

#### public static long GetOCGContext (long impl)

##### Throws

PDFNetException |

#### public static int GetPageNumberFromScreenPt (long impl, double x, double y)

##### Throws

PDFNetException |

#### public static int GetPagePresentationMode (long impl)

##### Throws

PDFNetException |

#### public static int GetPageViewMode (long impl)

##### Throws

PDFNetException |

#### public static int GetPagesCount (long impl)

##### Throws

PDFNetException |

#### public static int GetRotation (long impl)

##### Throws

PDFNetException |

#### public static long GetScreenRectForAnnot (long impl, long annot, int page_num)

##### Throws

PDFNetException |

#### public static long GetSelection (long impl, int pagenum)

##### Throws

PDFNetException |

#### public static int GetSelectionBeginPage (long impl)

##### Throws

PDFNetException |

#### public static int GetSelectionEndPage (long impl)

##### Throws

PDFNetException |

#### public static void GetThumbAsync (long impl, long page_num, ThumbAsyncHandler proc, Object custom_data)

##### Throws

PDFNetException |

#### public static int GetToolMode (long impl)

##### Throws

PDFNetException |

#### public static double GetVScrollPos (long impl)

##### Throws

PDFNetException |

#### public static double GetZoom (long impl)

##### Throws

PDFNetException |

#### public static boolean GotoFirstPage (long impl)

##### Throws

PDFNetException |

#### public static boolean GotoLastPage (long impl)

##### Throws

PDFNetException |

#### public static boolean GotoNextPage (long impl)

##### Throws

PDFNetException |

#### public static boolean GotoPreviousPage (long impl)

##### Throws

PDFNetException |

#### public static boolean HasSelection (long impl)

##### Throws

PDFNetException |

#### public static boolean HasSelectionOnPage (long impl, int page)

##### Throws

PDFNetException |

#### public static void InvalidateRect (long impl, long rect)

##### Throws

PDFNetException |

#### public static boolean IsFinishedRendering (long impl, boolean visible_region_only)

##### Throws

PDFNetException |

#### public static void OnScroll (long impl, int pix_dx, int pix_dy, boolean start_render)

##### Throws

PDFNetException |

#### public static void OnSize (long impl, int width, int height, int stride, boolean start_render)

##### Throws

PDFNetException |

#### public static long[] PDFViewCtrlCreate2 (Object ctrl, Object call)

##### Throws

PDFNetException |

#### public static void RotateClockwise (long impl)

##### Throws

PDFNetException |

#### public static void RotateCounterClockwise (long impl)

##### Throws

PDFNetException |

#### public static void SelectAll (long impl)

##### Throws

PDFNetException |

#### public static boolean SelectByHighlights (long impl, long hlts)

##### Throws

PDFNetException |

#### public static boolean SelectByRect (long impl, double x1, double y1, double x2, double y2)

##### Throws

PDFNetException |

#### public static boolean SelectBySelection (long impl, long sel)

##### Throws

PDFNetException |

#### public static boolean SelectByStruct (long impl, double x1, double y1, double x2, double y2)

##### Throws

PDFNetException |

#### public static String SelectionGetAsHtml (long impl)

##### Throws

PDFNetException |

#### public static String SelectionGetAsUnicode (long impl)

##### Throws

PDFNetException |

#### public static int SelectionGetPageNum (long impl)

##### Throws

PDFNetException |

#### public static double[] SelectionGetQuads (long impl)

##### Throws

PDFNetException |

#### public static void SetAntiAliasing (long impl, boolean enable_aa)

##### Throws

PDFNetException |

#### public static void SetBackgroundColor (long impl, byte r, byte g, byte b, byte a)

##### Throws

PDFNetException |

#### public static void SetCaching (long impl, boolean enabled)

##### Throws

PDFNetException |

#### public static void SetColorPostProcessMode (long impl, int mode)

##### Throws

PDFNetException |

#### public static boolean SetCurrentPage (long impl, int page_num)

##### Throws

PDFNetException |

#### public static long SetCurrentPageProc (long impl, CurrentPageProc curr_pagenum_proc, Object data)

##### Throws

PDFNetException |

#### public static void SetDefaultPageColor (long impl, byte r, byte g, byte b)

##### Throws

PDFNetException |

#### public static void SetDevicePixelDensity (long impl, double dpi, double scale_factor)

##### Throws

PDFNetException |

#### public static void SetDoc (long impl, long doc)

##### Throws

PDFNetException |

#### public static void SetDrawAnnotations (long impl, boolean render_annots)

##### Throws

PDFNetException |

#### public static long SetErrorReportProc (long impl, ErrorReportProc error_proc, Object data)

##### Throws

PDFNetException |

#### public static long SetFindTextHandler (long impl, Object findtext_proc, Object data)

##### Throws

PDFNetException |

#### public static void SetGamma (long impl, double exp)

##### Throws

PDFNetException |

#### public static void SetHScrollPos (long impl, double pos)

##### Throws

PDFNetException |

#### public static void SetHighlightFields (long impl, boolean highlight_fields)

##### Throws

PDFNetException |

#### public static void SetHorizontalAlign (long impl, int align)

##### Throws

PDFNetException |

#### public static void SetImageSmoothing (long impl, boolean smoothing_enabled)

##### Throws

PDFNetException |

#### public static void SetOCGContext (long impl, long ctx)

##### Throws

PDFNetException |

#### public static void SetOverprint (long impl, int op)

##### Throws

PDFNetException |

#### public static void SetPageBorderVisibility (long impl, boolean border_visible)

##### Throws

PDFNetException |

#### public static void SetPagePresentationMode (long impl, int mode)

##### Throws

PDFNetException |

#### public static void SetPageSpacing (long impl, int horiz_col_space, int vert_col_space, int horiz_pad, int vert_pad)

##### Throws

PDFNetException |

#### public static void SetPageTransparencyGrid (long impl, boolean trans_grid_visible)

##### Throws

PDFNetException |

#### public static void SetPageViewMode (long impl, int mode)

##### Throws

PDFNetException |

#### public static void SetPathHinting (long impl, boolean enable_ph)

##### Throws

PDFNetException |

#### public static void SetProgressiveRendering (long impl, boolean is_progressive)

##### Throws

PDFNetException |

#### public static void SetRasterizerType (long impl, int type)

##### Throws

PDFNetException |

#### public static long SetRequestRenderInWorkerThreadProc (long impl, Object proc, Object data)

##### Throws

PDFNetException |

#### public static void SetThinLineAdjustment (long impl, boolean pixel_grid_fit, boolean stroke_adjust)

##### Throws

PDFNetException |

#### public static void SetUrlExtraction (long impl, boolean enabled)

##### Throws

PDFNetException |

#### public static void SetVScrollPos (long impl, double pos)

##### Throws

PDFNetException |

#### public static void SetVerticalAlign (long impl, int align)

##### Throws

PDFNetException |

#### public static void SetViewerCache (long doc_impl, int max_cache_size, boolean on_disk)

##### Throws

PDFNetException |

#### public static boolean SetZoom (long impl, double zoom, boolean start_render)

##### Throws

PDFNetException |

#### public static boolean SetZoom (long impl, int x, int y, double zoom, boolean start_render)

##### Throws

PDFNetException |

#### public static void SetupThumbnails (long impl, boolean use_embedded, boolean generate_at_runtime, boolean use_disk_cache, int thumb_max_side_length, long max_abs_cache_size, double max_perc_cache_size)

##### Throws

PDFNetException |

#### public static boolean ShowRect (long impl, int page_num, long rect)

##### Throws

PDFNetException |

#### public static boolean SmartZoom (long impl, int x, int y)

##### Throws

PDFNetException |

#### public static void Update (long impl, long rect)

##### Throws

PDFNetException |

#### public static void Update (long impl, long annot, int num_page)

##### Throws

PDFNetException |

#### public static void Update (long impl, boolean all)

##### Throws

PDFNetException |

#### public static void UpdateData (long impl, int[] data, int x, int y)

##### Throws

PDFNetException |

#### public static void UpdateField (long impl, long field)

##### Throws

PDFNetException |

#### public static void UpdatePageLayout (long impl)

##### Throws

PDFNetException |