Click or drag to resize

UIPtgPdfView Class

An object that encapsulates the functionality of Patagames.Pdf SDK into a single widget that you can add to your application using Interface Builder.
Inheritance Hierarchy
UIScrollView
  Patagames.Pdf.Net.ControlsPdfViewerCore
    Patagames.Pdf.Net.Controls.Xamarin.iOSUIPtgPdfView

Namespace:  Patagames.Pdf.Net.Controls.Xamarin.iOS
Assembly:  Patagames.Pdf.Xamarin.iOS (in Patagames.Pdf.Xamarin.iOS.dll) Version: 4.57.2704
Syntax
public class UIPtgPdfView : PdfViewerCore

The UIPtgPdfView type exposes the following members.

Constructors
  NameDescription
Public methodUIPtgPdfView
Initializes a new instance of the UIPtgPdfView class.
Public methodUIPtgPdfView(IntPtr)
Initializes a new instance of the UIPtgPdfView class.
Top
Properties
  NameDescription
Public propertyCanBecomeFirstResponder
Determines whether this UIPtgPdfView is willing to become the first responder.
Public propertyCurrentPageHighlightColor
Gets or sets the current page highlight color.
Public propertyDoubleTapGestureRecognizer
The underlying gesture recognizer for double-tap gestures.
Public propertyFormHighlightColor
Gets or set the highlight color of the form fields in the document.
Public propertyHasText
A Boolean value that indicates whether the text-entry objects has any text.
Public propertyIsDisposed
Gets a value indicating whether the object has been disposed of.

Field Value

Type: 
true if the UIPtgPdfView has been disposed of; otherwise, false.
Public propertyLongPressGestureRecognizer
The underlying gesture recognizer for long press gestures.
Public propertyPadding
Gets or sets padding within the control.
Public propertyPageBackColor
Gets or sets the background color for the control under PDF page.
Public propertyPageBorderColor
Gets or sets the border color of the page
Public propertyPageMargin
Specifies space between pages margins
Public propertyPageSeparatorColor
Gets or sets the page separator color.
Public propertyRotationGestureRecognizer
The underlying gesture recognizer for rotation gestures.
Protected propertyScrollbarSize
Gets the width and height of the vertical and horizontal scrollbars, respectively.
(Overrides PdfViewerCoreScrollbarSize.)
Public propertySwipeLeftGestureRecognizer
The underlying gesture recognizer for swipe gestures.
Public propertySwipeRightGestureRecognizer
The underlying gesture recognizer for swipe gestures.
Public propertyTapGestureRecognizer
The underlying gesture recognizer for tap gestures.
Public propertyTextSelectColor
Gets or sets the selection color of the control.
Protected propertyViewSize
Gets the height and width of the client area of the control, regardless of the area occupied by the scroll bars.
(Overrides PdfViewerCoreViewSize.)
Top
Methods
  NameDescription
Protected methodApplicationBeep
Called by the engine when it is required to play the sound
(Overrides PdfViewerCoreApplicationBeep(BeepTypes).)
Protected methodCaptureMouse
Attempts to force capture of the mouse to this control.
(Overrides PdfViewerCoreCaptureMouse.)
Public methodDeleteBackward
Delete a character from the displayed text.
Protected methodDispose
Releases the resources used by the UIPtgPdfView object.
Public methodDraw
Draws the view within the passed-in rectangle.
Protected methodDrawControlBackColor
Paints the background of the PdfViewerCore.
(Overrides PdfViewerCoreDrawControlBackColor(PdfBitmap, Int32Rect).)
Protected methodDrawCurrentPageHighlight
Highlight the current page.
(Overrides PdfViewerCoreDrawCurrentPageHighlight(INativeRenderer, PdfPage, SingleRect).)
Protected methodDrawLoadingIcon
Draws a loading icon.
(Overrides PdfViewerCoreDrawLoadingIcon(INativeRenderer, PdfPage, SingleRect).)
Protected methodDrawPageBorder
Draws page border.
(Overrides PdfViewerCoreDrawPageBorder(INativeRenderer, PdfPage, SingleRect).)
Protected methodDrawRenderedPagesToDevice
Draws rendered content on the surface of the device.
(Overrides PdfViewerCoreDrawRenderedPagesToDevice(INativeRenderer, PdfBitmap, Int32, Int32).)
Protected methodGetContentOffset
Gets the amount of vertical and horizontal offset of the control's content.
(Overrides PdfViewerCoreGetContentOffset.)
Protected methodGetContentSize
Gets the size of the scrollable content.
(Overrides PdfViewerCoreGetContentSize.)
Protected methodGetNativeRenderer
Provides an instance of an object that implements the INativeRenderer interface to the base class.
(Overrides PdfViewerCoreGetNativeRenderer.)
Public methodInsertText
Insert a character into the displayed text.
Protected methodIsNeedPause
Checks whether loading/rendering should be paused and control should be returned to UI thread.
(Overrides PdfViewerCoreIsNeedPause(PdfPage).)
Public methodLayoutSubviews
Lays out subviews.
Protected methodLimitScrollOnOverflow
Overridden to disable the underlying scroll limit mechanics to enable Apple's default behavior.
(Overrides PdfViewerCoreLimitScrollOnOverflow(SinglePoint).)
Protected methodMouseSetCursor
Sets the cursor that is displayed when the mouse pointer is over the control.
(Overrides PdfViewerCoreMouseSetCursor(CursorTypes).)
Protected methodNotifyNeedsDisplay
Marks the control as needing to be redrawn.
(Overrides PdfViewerCoreNotifyNeedsDisplay.)
Protected methodNotifyNeedsLayout
Invalidates the current layout of the control and triggers a layout update during the next update cycle.
(Overrides PdfViewerCoreNotifyNeedsLayout.)
Protected methodNotifyNeedsUpdateScrollBars
Marks the elements, such as scroll bars, that depend on the scrolling as needing to be repositioning.
(Overrides PdfViewerCoreNotifyNeedsUpdateScrollBars.)
Protected methodOnContentScrolled
Called by UIPtgPdfView when the user scrolls the content view within the control.
Protected methodOnDoubleTapGesture
Called by the base class when a double-tap gesture has been recognized.
Protected methodOnFormsFocusChanged
Calls by the engine when a text field is getting or losing a focus. Resign/Become first responder.
(Overrides PdfViewerCoreOnFormsFocusChanged(String, Boolean).)
Protected methodOnFormsInvalidate
Called by the engine when it is required to invalidate the client area within the specified rectangle. Adjusts the location of the virtual keyboard if displayed.
(Overrides PdfViewerCoreOnFormsInvalidate(PdfPage, FS_RECTF).)
Protected methodOnKeyboardAdjust
The method is being called by a viewer to adjust the mutual display of content and keyboard.
Protected methodOnKeyboardHide
The method is being called by the UIKeyboard immediately prior to the dismissal of the keyboard.
Protected methodOnKeyboardShow
The method is being called by the UIKeyboard immediately prior to the display of the keyboard.
Protected methodOnLongPressGesture
Called by the base class when a long tap gesture has been recognized.
Protected methodOnPinchGesture
Called by the base class when a pinch gesture has been recognized.
Protected methodOnRotationGesture
Called by the base class when a rotation gesture has been recognized.
Protected methodOnSwipeGestureRecognizer
Called by the base class when a swipe gesture has been recognized.
Protected methodOnTapGesture
Called by the base class when a tap gesture has been recognized.
Protected methodProcessMouseMoveForPanTool
Called by ProcessMouseMove(SinglePoint) when MouseMode is set to PanTool.
(Overrides PdfViewerCoreProcessMouseMoveForPanTool(SinglePoint).)
Protected methodProcessUrl
Open the specified URL in the default browser.
(Overrides PdfViewerCoreProcessUrl(String).)
Protected methodReleaseMouseCapture
Releases the mouse capture, if this control held the capture.
(Overrides PdfViewerCoreReleaseMouseCapture.)
Protected methodRestoreScrollPoint
Restore the position of the scroll bars immediately after updating the layout.
(Overrides PdfViewerCoreRestoreScrollPoint.)
Protected methodSaveScrollPoint
Save the position of the scroll bars just before updating the layout.
(Overrides PdfViewerCoreSaveScrollPoint.)
Protected methodSetContentOffset
Sets the amount of vertical and horizontal offset of the control's content.
(Overrides PdfViewerCoreSetContentOffset(SinglePoint).)
Protected methodSetContentSize
Sets the size of the scrollable content.
(Overrides PdfViewerCoreSetContentSize(SingleSize).)
Protected methodShowException
Called by the base class when an exception needs to be displayed
(Overrides PdfViewerCoreShowException(Exception).)
Protected methodStartInvalidateTimer
Start a timer at the triggering of which it is necessary to call NotifyNeedsDisplay.
(Overrides PdfViewerCoreStartInvalidateTimer.)
Top
See Also