Link Search Menu Expand Document

PDFViewerControl Methods

The PDFViewerControl type exposes the following members.

Methods
NameDescription
Public methodAddSelection
Adds selection rectangle in pixels.
Public methodAddSelectionAndUserData(SelectionData)
Adds selection and associated user object as SelectionData object.
Public methodAddSelectionAndUserData(IListSelectionData)
Adds selection and associated user object as list of SelectionData objects.
Public methodAddSelectionInPoints
Adds selection rectangle in PDF Points (1 Point = 1/72 in.).
Public methodBeginInvoke(Delegate) (Inherited from Control.)
Public methodBeginInvoke(Delegate, Object) (Inherited from Control.)
Public methodBringToFront (Inherited from Control.)
Public methodClear
Clears the content of PDFViewerControl and releases resources.
Public methodClearSelection
Clears the selection rectangle.
Public methodContains (Inherited from Control.)
Public methodCopy
Copies selected text to the clipboard.
Public methodCreateControl (Inherited from Control.)
Public methodCreateGraphics (Inherited from Control.)
Public methodCreateObjRef (Inherited from MarshalByRefObject.)
Public methodDispose (Inherited from Component.)
Public methodDoDragDrop (Inherited from Control.)
Public methodDrawToBitmap (Inherited from Control.)
Public methodEndInvoke (Inherited from Control.)
Public methodEquals (Inherited from Object.)
Public methodFind(String)
Finds the specified text in the document starting from currently selected page.
Public methodFind(String, TextSearchFeedbackType)
Finds the specified text in the document starting from currently selected page.
Public methodFindForm (Inherited from Control.)
Public methodFirstPage
Shows first page.
Public methodFitPage
Fits the document into window.
Public methodFitWidth
Fits the document into window by width.
Public methodFocus (Inherited from Control.)
Public methodGetChildAtPoint(Point) (Inherited from Control.)
Public methodGetChildAtPoint(Point, GetChildAtPointSkip) (Inherited from Control.)
Public methodGetContainerControl (Inherited from Control.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetLifetimeService (Inherited from MarshalByRefObject.)
Public methodGetNextControl (Inherited from Control.)
Public methodGetPageRectangle
Returns size of current document page in PDF documents point units (1/72").
Public methodGetPreferredSize (Inherited from Control.)
Public methodGetSelectedText
Returns text from selection rectangle.
Public methodGetSelection
Returns array of selection rectangles in pixels. In single-select mode the array always contains one rectangle.
Public methodGetSelectionAndUserData
Returns selection rectangles and associated user objects as array of SelectionData objects.
Public methodGetSelectionInPoints
Returns array of selection rectangles in PDF Points (1 Point = 1/72 in.)
Public methodGetType (Inherited from Object.)
Public methodHide (Inherited from Control.)
Public methodInitializeLifetimeService (Inherited from MarshalByRefObject.)
Public methodInvalidate (Inherited from Control.)
Public methodInvalidate(Region) (Inherited from Control.)
Public methodInvalidate(Boolean) (Inherited from Control.)
Public methodInvalidate(Rectangle) (Inherited from Control.)
Public methodInvalidate(Region, Boolean) (Inherited from Control.)
Public methodInvalidate(Rectangle, Boolean) (Inherited from Control.)
Public methodInvoke(Delegate) (Inherited from Control.)
Public methodInvoke(Delegate, Object) (Inherited from Control.)
Public methodLastPage
Shows last page.
Public methodNextPage
Shows next page.
Public methodPerformAutoScale (Inherited from ContainerControl.)
Public methodPerformLayout (Inherited from Control.)
Public methodPerformLayout(Control, String) (Inherited from Control.)
Public methodPointToClient (Inherited from Control.)
Public methodPointToScreen (Inherited from Control.)
Public methodPreProcessControlMessage (Inherited from Control.)
Public methodPreProcessMessage (Inherited from Control.)
Public methodPrevPage
Shows previous page.
Public methodRectangleToClient (Inherited from Control.)
Public methodRectangleToScreen (Inherited from Control.)
Public methodRefresh (Inherited from Control.)
Public methodRemoveSelectionAt
Removes selection at specified index.
Public methodResetBackColor
Resets the BackColor property to its default value.
(Overrides ControlResetBackColor.)
Public methodResetBindings (Inherited from Control.)
Public methodResetCursor (Inherited from Control.)
Public methodResetFont (Inherited from Control.)
Public methodResetForeColor (Inherited from Control.)
Public methodResetImeMode (Inherited from Control.)
Public methodResetRightToLeft (Inherited from Control.)
Public methodResetRotation
Reset rotation to default.
Public methodResetText (Inherited from Control.)
Public methodResumeLayout (Inherited from Control.)
Public methodResumeLayout(Boolean) (Inherited from Control.)
Public methodRotate180
Rotate the document 180 degrees.
Public methodRotateLeft
Rotate the document 90 degrees to the left.
Public methodRotateRight
Rotate the document 90 degrees to the right.
Public methodScale(Single)Obsolete. (Inherited from Control.)
Public methodScale(SizeF) (Inherited from Control.)
Public methodScale(Single, Single)Obsolete. (Inherited from Control.)
Public methodScrollControlIntoView (Inherited from ScrollableControl.)
Public methodSelect (Inherited from Control.)
Public methodSelectNextControl (Inherited from Control.)
Public methodSendToBack (Inherited from Control.)
Public methodSetAutoScrollMargin (Inherited from ScrollableControl.)
Public methodSetBounds(Int32, Int32, Int32, Int32) (Inherited from Control.)
Public methodSetBounds(Int32, Int32, Int32, Int32, BoundsSpecified) (Inherited from Control.)
Public methodSetScale
Sets the document scale.
Public methodSetSelection
Sets selection rectangles in pixels. In single-select mode the control will take only the first rectangle in the list.
Public methodSetSelectionAndUserData
Sets selection rectangles and associated user objects.
Public methodSetSelectionInPoints
Sets the selection rectangles in PDF Points (1 Point = 1/72 in.)
Public methodShow (Inherited from Control.)
Public methodSuspendLayout (Inherited from Control.)
Public methodToString (Inherited from Component.)
Public methodTranslatePointFromPointsToPixels
Translates point coordinates from PDF documents point units (1/72") to display pixels.
Public methodTranslatePointToDocumentPoints
Translates point coordinates to PDF document's coordinates (Points, 1 Point = 1/72 in.).
Public methodTranslatePointToViewport
Translates point coordinates to component's canvas coordinates. Might be useful in CustomPaint event.
Public methodTranslateRectangleFromPointsToPixels
Translates rectangle from PDF documents points (1/72") to display pixels.
Public methodTranslateRectangleToDocumentPoints
Translates rectangle coordinates to PDF document's coordinates (Points, 1 Point = 1/72 in.).
Public methodTranslateRectangleToViewport
Translates coordinates of rectangle to component's canvas coordinates. Might be useful in CustomPaint event.
Public methodUpdate (Inherited from Control.)
Public methodUpdateSelectionUserData
Updates user object associated with the selection at the specified index.
Public methodValidate (Inherited from ContainerControl.)
Public methodValidate(Boolean) (Inherited from ContainerControl.)
Public methodValidateChildren (Inherited from UserControl.)
Public methodValidateChildren(ValidationConstraints) (Inherited from UserControl.)
Public methodZoomIn
Zooms the document in by 10%.
Public methodZoomOut
Zooms the document out by 10%.
Public methodZoomOut(Int32)
Top
See Also

Reference