Click or drag to resize

PdfViewer Methods

The PdfViewer type exposes the following members.

Methods
 NameDescription
Public methodCalcActualRect Calculates the actual rectangle of the specified page in client coordinates
Public methodClearRenderBuffer Clear internal render buffer for rerender pages in Progressive mode
Public methodClientToPage Computes the location of the specified client point into page coordinates.
Public methodCloseDocument Close a loaded PDF document.
Public methodDeselectText Clear text selection
Protected methodDispose Clean up any resources being used.
(Overrides ContainerControlDispose(Boolean))
Protected methodDrawCurrentPageHighlight Draws current page highlight
Protected methodDrawFillForms Draw fill forms
Protected methodDrawFillFormsSelection(Graphics, ListRectangle) Left for backward compatibility. Actually the fillforms selection is drawn in DrawFillFormsSelection(PdfBitmap, ListRectangle) method.
Protected methodDrawFillFormsSelection(PdfBitmap, ListRectangle) Draws highlights inside a forms
Protected methodDrawLoadingIcon Draw loading icon
Protected methodDrawPage Draws page content and fillforms
Protected methodDrawPageBackColor Draws page background
Protected methodDrawPageBorder Draws page's border
Protected methodDrawPageSeparators Draws pages separatoes.
Protected methodDrawRenderedPagesToDevice Combine two buffers (rendered pages and forms) and draw them to graphics
Protected methodDrawTextHighlight(Graphics, ListHighlightInfo, Int32) Left for backward compatibility. Actually the text highlight is drawn in DrawTextHighlight(PdfBitmap, ListHighlightInfo, Int32) method.
Protected methodDrawTextHighlight(PdfBitmap, ListHighlightInfo, Int32) Draws text highlights
Protected methodDrawTextSelection(Graphics, SelectInfo, Int32) Left for backward compatibility. Actually the text selection is drawn in DrawTextSelection(PdfBitmap, SelectInfo, Int32) method.
Protected methodDrawTextSelection(PdfBitmap, SelectInfo, Int32) Draws text selection
Public methodGetHighlightedRects Get a collection of rectangles that represent the highlighted text on a specific page and in accordance with the specified HighlightInfo structure.
Public methodGetSelectedRects(Int32) Get a collection of rectangles that represent the selected text on a specified page.
Public methodGetSelectedRects(Int32, SelectInfo) Get a collection of rectangles that represent the selected text on a specific page and in accordance with the specified SelectInfo structure.
Public methodHighlightSelectedText Highlight selected text on the page by specified color
Public methodHighlightText(Int32, HighlightInfo) Highlight text on the page
Public methodHighlightText(Int32, Int32, Int32, Color) Highlight text on the page
Public methodHighlightText(Int32, Int32, Int32, Color, FS_RECTF) Highlight text on the page
Public methodHilightSelectedTextObsolete.
Highlight selected text on the page by specified color
Protected methodInternalSetCursor Sets the cursor that is displayed when the mouse pointer is over the control.
Protected methodIsInputKey Determines whether the specified key is a regular input key or a special key that requires preprocessing.
(Overrides ControlIsInputKey(Keys))
Public methodLoadDocument(Byte, String) Loads the PDF document from the specified byte array.
Public methodLoadDocument(Stream, String) Loads the PDF document from the specified stream.
Public methodLoadDocument(String, String) Open and load a PDF document from a file.
Protected methodOnAfterDocumentChanged Raises the AfterDocumentChanged event.
Protected methodOnAfterLinkClicked Raises the AfterLinkClicked event.
Protected methodOnBeforeDocumentChanged Raises the BeforeDocumentChanged event.
Protected methodOnBeforeLinkClicked Raises the BeforeLinkClicked event.
Protected methodOnCurrentPageChanged Raises the CurrentPageChanged event.
Protected methodOnCurrentPageHighlightColorChanged Raises the CurrentPageHighlightColorChanged event.
Protected methodOnDocumentClosed Raises the DocumentClosed event.
Protected methodOnDocumentClosing Raises the DocumentClosing event.
Protected methodOnDocumentLoaded Raises the DocumentLoaded event.
Protected methodOnFormHighlightColorChanged Raises the FormHighlightColorChanged event.
Protected methodOnFormsAppBeep Called by the engine when it is required to play the sound
Protected methodOnFormsBlendModeChanged Raises the FormsBlendModeChanged event.
Protected methodOnFormsDoGotoAction Called by the engine when it is required to execute a GoTo action
Protected methodOnFormsDoNamedAction Called by the engine when it is required to execute a named action
Protected methodOnFormsGotoPage Called by the engine when it is required to execute GoTo operation
Protected methodOnFormsInvalidate Called by the engine when it is required to redraw the page
Protected methodOnFormsOutputSelectedRect Called by the engine when it is required to draw selected regions in FillForms
Protected methodOnFormsSetCursor Called by the engine when it is required to change the cursor
Protected methodOnHighlightedTextChanged Raises the HighlightedTextChanged event.
Protected methodOnKeyUp Raises the System.Windows.Forms.Control.KeyUp event.
(Overrides ControlOnKeyUp(KeyEventArgs))
Protected methodOnLoadingIconTextChanged Raises the LoadingIconTextChanged event.
Protected methodOnMouseDoubleClick Raises the System.Windows.Forms.Control.MouseDoubleClick event.
(Overrides ControlOnMouseDoubleClick(MouseEventArgs))
Protected methodOnMouseDown Raises the System.Windows.Forms.Control.MouseDown event.
(Overrides UserControlOnMouseDown(MouseEventArgs))
Protected methodOnMouseModeChanged Raises the MouseModeChanged event.
Protected methodOnMouseMove Raises the System.Windows.Forms.Control.MouseMove event.
(Overrides ControlOnMouseMove(MouseEventArgs))
Protected methodOnMouseUp Raises the System.Windows.Forms.Control.MouseUp event.
(Overrides ControlOnMouseUp(MouseEventArgs))
Protected methodOnMouseWheel Raises the System.Windows.Forms.Control.MouseWheel event.
(Overrides ScrollableControlOnMouseWheel(MouseEventArgs))
Protected methodOnPageAlignChanged Raises the PageAlignChanged event.
Protected methodOnPageBackColorChanged Raises the PageBackColorChanged event.
Protected methodOnPageBorderColorChanged Raises the PageBorderColorChanged event.
Protected methodOnPageMarginChanged Raises the PageMarginChanged event.
Protected methodOnPageSeparatorColorChanged Raises the PageSeparatorColorChanged event.
Protected methodOnPaint Raises the System.Windows.Forms.Control.Paint event.
(Overrides ControlOnPaint(PaintEventArgs))
Protected methodOnPreviewKeyDown Raises the System.Windows.Forms.Control.PreviewKeyDown event.
(Overrides ControlOnPreviewKeyDown(PreviewKeyDownEventArgs))
Protected methodOnRenderFlagsChanged Raises the RenderFlagsChanged event.
Protected methodOnResize Raises the Resize event
(Overrides UserControlOnResize(EventArgs))
Protected methodOnScroll Raises the System.Windows.Forms.ScrollableControl.Scroll event
(Overrides ScrollableControlOnScroll(ScrollEventArgs))
Protected methodOnSelectionChanged Raises the SelectionChanged event.
Protected methodOnShowCurrentPageHighlightChanged Raises the ShowCurrentPageHighlightChanged event.
Protected methodOnShowLoadingIconChanged Raises the ShowLoadingIconChanged event.
Protected methodOnShowPageSeparatorChanged Raises the ShowPageSeparatorChanged event.
Protected methodOnSizeModeChanged Raises the SizeModeChanged event.
Protected methodOnTextSelectColorChanged Raises the TextSelectColorChanged event.
Protected methodOnTilesCountChanged Raises the TilesCountChanged event.
Protected methodOnUseProgressiveRenderChanged Raises the UseProgressiveRenderChanged event.
Protected methodOnViewModeChanged Raises the ViewModeChanged event.
Protected methodOnZoomChanged Raises the ZoomChanged event.
Public methodPageToClient Computes the location of the specified page point into client coordinates.
Public methodPointInPage Determines if the specified point is contained within Pdf page.
Public methodProcessAction Process the PdfAction
Public methodProcessDestination Process the PdfDestination.
Protected methodRegenerateAnnots Create an appearance stream for annotations which do not have this one.
Public methodRemoveHighlightFromSelectedText Removes highlight from selected text
Public methodRemoveHighlightFromText Removes highlight from the text
Public methodRemoveHighlightFromText(Int32, Int32, Int32) Removes highlight from the text
Public methodRemoveHilightFromSelectedTextObsolete.
Removes highlight from selected text
Public methodRotatePage Rotates the specified page to the specified angle.
Public methodScrollToChar(Int32) Scrolls the control view to the specified character on the current page
Public methodScrollToChar(Int32, Int32) Scrolls the control view to the specified character on the specified page
Public methodScrollToPage Scrolls the control view to the specified page.
Public methodScrollToPoint Scrolls the control view to the specified point on the specified page
Public methodSelectText(SelectInfo) Selects the text contained in specified pages.
Public methodSelectText(Int32, Int32, Int32, Int32) Selects the text contained in specified pages.
Public methodUpdateLayout Ensures that all sizes and positions of pages of a PdfViewer control are properly updated for layout.
Top
See Also