Class SfPdfViewer
Represents a view control that displays PDF documents.
Inheritance
Implements
Namespace: Syncfusion.SfPdfViewer.XForms
Assembly: Syncfusion.SfPdfViewer.XForms.dll
Syntax
public class SfPdfViewer : ContentView, IParentThemeElement, IThemeElement, IDisposable
Constructors
SfPdfViewer()
Initializes a new instance of the SfPdfViewer class.
Declaration
public SfPdfViewer()
Fields
AnnotationsProperty
Declaration
public static readonly BindableProperty AnnotationsProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
BookmarkPaneVisibleProperty
Gets or sets the BookmarkPaneVisible property of SfPdfViewer. It is a bindable property.
Declaration
public static readonly BindableProperty BookmarkPaneVisibleProperty
Field Value
Type | Description |
---|---|
Xamarin.Forms.BindableProperty | A bindable property that determines if the bookmark pane is visible. |
CurrentSearchTextOccurrenceProperty
Backing store for the CurrentSearchTextOccurrence property.
Declaration
public static readonly BindableProperty CurrentSearchTextOccurrenceProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
EnableScrollHeadProperty
Backing store for the EnableScrollHead property.
Declaration
public static readonly BindableProperty EnableScrollHeadProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
HorizontalOffsetProperty
Backing store for the HorizontalOffset bindable property.
Declaration
public static readonly BindableProperty HorizontalOffsetProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
InputFileStreamProperty
Declaration
public static readonly BindableProperty InputFileStreamProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
IsToolbarVisibleProperty
Backing store for the IsToolbarVisible property.
Declaration
public static readonly BindableProperty IsToolbarVisibleProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
MaximumZoomPercentageProperty
Gets or sets the MaximumZoomPercentage of SfPdfViewer. It is a bindable property.
Declaration
public static readonly BindableProperty MaximumZoomPercentageProperty
Field Value
Type | Description |
---|---|
Xamarin.Forms.BindableProperty | A bindable property which is used to get or set the maximum zoom percentage. |
MinimumZoomPercentageProperty
Gets or sets the MinimumZoomPercentage of SfPdfViewer. It is a bindable property.
Declaration
public static readonly BindableProperty MinimumZoomPercentageProperty
Field Value
Type | Description |
---|---|
Xamarin.Forms.BindableProperty | A bindable property which is used to get or set the minimum zoom percentage. |
PageCountProperty
Gets the PageCount property of SfPdfViewer. This is a bindable property.
Declaration
public static readonly BindableProperty PageCountProperty
Field Value
Type | Description |
---|---|
Xamarin.Forms.BindableProperty | A bindable property that gets the page count of the PDF viewer. |
PageNumberProperty
Gets or sets the PageNumber of the SfPdfViewer. It is a bindable property.
Declaration
public static readonly BindableProperty PageNumberProperty
Field Value
Type | Description |
---|---|
Xamarin.Forms.BindableProperty | A bindable property that gets or sets the page number in the PDF viewer. |
PageViewModeProperty
Backing store for the PageViewMode property.
Declaration
public static readonly BindableProperty PageViewModeProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
TotalSearchTextOccurrencesProperty
Backing store for the TotalSearchTextOccurrences property.
Declaration
public static readonly BindableProperty TotalSearchTextOccurrencesProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
VerticalOffsetProperty
Backing store for the VerticalOffset property.
Declaration
public static readonly BindableProperty VerticalOffsetProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
ZoomPercentageProperty
Backing store for the ZoomPercentage property.
Declaration
public static readonly BindableProperty ZoomPercentageProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
Properties
AllowHyperlinkNavigation
Gets or sets a value indicating whether gets or sets a value to perform hyperlink navigation.
Declaration
public bool AllowHyperlinkNavigation { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | Default value is true. |
AnnotationMode
Gets or sets the type of annotation to be drawn in SfPdfViewer.
Declaration
public AnnotationMode AnnotationMode { get; set; }
Property Value
Type | Description |
---|---|
AnnotationMode | The annotation mode that provides type of annotation to be drawn in sfpdfviewer. |
AnnotationModeCommand
Gets or sets defines command to set the annotation mode in PDF viewer control.
Declaration
public ICommand AnnotationModeCommand { get; set; }
Property Value
Type |
---|
System.Windows.Input.ICommand |
Annotations
Gets or sets the collection of annotations present in the PDF.
Declaration
public ObservableCollection<IAnnotation> Annotations { get; }
Property Value
Type |
---|
System.Collections.ObjectModel.ObservableCollection<IAnnotation> |
AnnotationSettings
Gets or sets the default appearance of textmarkup annotation.
Declaration
public AnnotationSettings AnnotationSettings { get; set; }
Property Value
Type | Description |
---|---|
AnnotationSettings | The annotation settings allows the user to customize the default appearance of the textmarkup annotation. |
BookmarkNavigationEnabled
Gets or sets a value indicating whether gets or sets the value that indicates whether bookmark navigation is enabled.
Declaration
public bool BookmarkNavigationEnabled { get; set; }
Property Value
Type |
---|
System.Boolean |
BookmarkPaneVisible
Gets or sets a value indicating whether gets or sets the value that indicates whether the bookmark pane is visible.
Declaration
public bool BookmarkPaneVisible { get; set; }
Property Value
Type |
---|
System.Boolean |
Bookmarks
Gets the list of bookmarks in the PDF document.
Declaration
public List<PdfBookmark> Bookmarks { get; }
Property Value
Type |
---|
System.Collections.Generic.List<PdfBookmark> |
CancelSearchTextCommand
Gets or sets defines command to cancel the text search operation.
Declaration
public ICommand CancelSearchTextCommand { get; set; }
Property Value
Type |
---|
System.Windows.Input.ICommand |
CanRedo
Gets a value indicating whether gets the flag to notify whether we can perform redo operation in SfPdfViewer.
Declaration
public bool CanRedo { get; }
Property Value
Type | Description |
---|---|
System.Boolean | The flag that specifies whether the redo operation can be perform or not in sfpdfviewer. |
CanRedoCommand
Gets defines command that notifies whether we can perform redo operation in PDF viewer control.
Declaration
public ICommand CanRedoCommand { get; }
Property Value
Type |
---|
System.Windows.Input.ICommand |
CanRedoInk
Gets a value indicating whether gets the flag to notify whether we can perform ink session redo operation in SfPdfViewer.
Declaration
public bool CanRedoInk { get; }
Property Value
Type | Description |
---|---|
System.Boolean | The flag that specifies whether the ink session redo operation can be perform or not in sfpdfviewer. |
CanUndo
Gets a value indicating whether gets the flag that notifies whether we can perform undo operation in SfPdfViewer.
Declaration
public bool CanUndo { get; }
Property Value
Type | Description |
---|---|
System.Boolean | The flag that specifies whether the undo operation can be perform or not in sfpdfviewer. |
CanUndoCommand
Gets defines command that notifies whether we can perform undo operation in PDF viewer control.
Declaration
public ICommand CanUndoCommand { get; }
Property Value
Type |
---|
System.Windows.Input.ICommand |
CanUndoInk
Gets a value indicating whether gets the flag that notifies whether we can perform ink session undo operation in SfPdfViewer.
Declaration
public bool CanUndoInk { get; }
Property Value
Type | Description |
---|---|
System.Boolean | The flag that specifies whether the ink session undo operation can be perform or not in sfpdfviewer. |
ClearAllAnnotationsCommand
Gets or sets defines command for clear annotation in PDF viewer control.
Declaration
public ICommand ClearAllAnnotationsCommand { get; set; }
Property Value
Type |
---|
System.Windows.Input.ICommand |
ClientRectangle
Gets the rectangle that represents the client area (viewport) of the control, without the non-client elements such as toolbars and scroll bars.
Declaration
public Rectangle ClientRectangle { get; }
Property Value
Type |
---|
Xamarin.Forms.Rectangle |
CurrentSearchTextOccurrence
Gets the current search text occurrence.
Declaration
public int CurrentSearchTextOccurrence { get; }
Property Value
Type |
---|
System.Int32 |
CustomBookmarks
Gets the list of bookmarks dynamically added by the user.
Declaration
public ObservableCollection<CustomBookmark> CustomBookmarks { get; }
Property Value
Type |
---|
System.Collections.ObjectModel.ObservableCollection<CustomBookmark> |
CustomPdfRenderer
Gets or sets the functionality to render the PDF document using third party renderers in a SfPdfViewer.
Declaration
public object CustomPdfRenderer { get; set; }
Property Value
Type |
---|
System.Object |
EditFreeTextAnnotationCommand
Gets or sets defines command to edit the text of free text annotation in PDF viewer control.
Declaration
public ICommand EditFreeTextAnnotationCommand { get; set; }
Property Value
Type |
---|
System.Windows.Input.ICommand |
EnableDocumentLinkAnnotation
Gets or sets a value indicating whether enable or disable the TOC of PDF document.
Declaration
public bool EnableDocumentLinkAnnotation { get; set; }
Property Value
Type |
---|
System.Boolean |
EnableDoubleTapZooming
Gets or sets a value indicating whether gets or sets a value that indicates whether the PDF should be zoomed when it is double tapped in iOS.
Declaration
public bool EnableDoubleTapZooming { get; set; }
Property Value
Type |
---|
System.Boolean |
EnableFormFilling
Gets or sets a value indicating whether if set to true enables the displaying, editing and saving of form fields. Otherwise, the form fields are not displayed at all. Default value is true.
Declaration
public bool EnableFormFilling { get; set; }
Property Value
Type |
---|
System.Boolean |
EnableScrollHead
Gets or sets a value indicating whether gets or sets a value that indicates whether the scroll head should be enabled.
Declaration
public bool EnableScrollHead { get; set; }
Property Value
Type |
---|
System.Boolean |
FormFields
Gets the list of form fields in the PDF document.
Declaration
public List<FormField> FormFields { get; }
Property Value
Type |
---|
System.Collections.Generic.List<FormField> |
Remarks
This collection is not supposed to be modified.
FormSettings
Gets or sets the settings that customize the rendering of form field elements
Declaration
public FormSettings FormSettings { get; set; }
Property Value
Type |
---|
FormSettings |
GoToNextPageCommand
Gets or sets defines command to navigates to the next page of the PDF document.
Declaration
public ICommand GoToNextPageCommand { get; set; }
Property Value
Type |
---|
System.Windows.Input.ICommand |
GoToPageCommand
Gets or sets defines command to navigates to the specified page of the PDF document.
Declaration
public ICommand GoToPageCommand { get; set; }
Property Value
Type |
---|
System.Windows.Input.ICommand |
GoToPreviousPageCommand
Gets or sets defines command to navigates to the previous page of the PDF document.
Declaration
public ICommand GoToPreviousPageCommand { get; set; }
Property Value
Type |
---|
System.Windows.Input.ICommand |
HorizontalOffset
Gets or sets the current horizontal scroll position of SfPdfViewer.
Declaration
public float HorizontalOffset { get; set; }
Property Value
Type |
---|
System.Single |
InputFileStream
Gets or sets and sets the input file stream of SfPdfViewer.
Declaration
public Stream InputFileStream { get; set; }
Property Value
Type | Description |
---|---|
System.IO.Stream | A stream that is used to load and retrieve PDF document in the PDF viewer. |
IsPageFlipEnabled
Gets or Sets a value indicating whether the pages can be flipped whenPageViewMode is set to PageViewMode.PageByPage
Declaration
public bool IsPageFlipEnabled { get; set; }
Property Value
Type |
---|
System.Boolean |
IsPasswordViewEnabled
Gets or sets a value indicating whether gets or sets a flag value that indicates whether password UI view should be enabled or disabled.
Declaration
public bool IsPasswordViewEnabled { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | false Password UI view is disabled; otherwise, true.The default value is true. |
IsTextSearchEnabled
Gets or sets a value indicating whether gets or sets a value that indicates whether text search is enabled.
Declaration
public bool IsTextSearchEnabled { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | false if text search is disabled; otherwise, true.The default value is true. |
IsTextSelectionEnabled
Gets or sets a value indicating whether gets or sets a value that indicates whether text selection is enabled.
Declaration
public bool IsTextSelectionEnabled { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | false if text selection is disabled; otherwise, true.The default value is true. |
IsToolbarVisible
Gets or sets a value indicating whether gets or sets a value that indicates whether the built-in toolbar should be visible. Default value is true.
Declaration
public bool IsToolbarVisible { get; set; }
Property Value
Type |
---|
System.Boolean |
IsXFAForm
Gets a value indicating whether gets a value which indicates whether the loaded PDF contains XFA form which cannot be viewed in SfPdfViewer.
Declaration
public bool IsXFAForm { get; }
Property Value
Type |
---|
System.Boolean |
MaximumZoomPercentage
Gets or Sets the maximum zoom percentage.
Declaration
public float MaximumZoomPercentage { get; set; }
Property Value
Type | Description |
---|---|
System.Single | A float that represent the maximum extent to which the document can be magnified. The default value is 400 for Android and 300 for iOS and UWP. |
MinimumZoomPercentage
Gets or Sets the minimum zoom percentage.
Declaration
public float MinimumZoomPercentage { get; set; }
Property Value
Type | Description |
---|---|
System.Single | A float that represent the minimum extent to which the document can be zoomed out.The default value is 100 for Android and UWP and fitwidth zoom percentage value for iOS . |
PageCount
Gets the total page count of the PDF document loaded to SfPdfViewer.
Declaration
public int PageCount { get; }
Property Value
Type | Description |
---|---|
System.Int32 | An integer that provides the total number of pages in the loaded PDF document. |
PageNumber
Gets or sets the number of the current page being displayed in SfPdfViewer.
Declaration
public int PageNumber { get; set; }
Property Value
Type |
---|
System.Int32 |
PageViewMode
Gets or sets the value indicating whether the SfPdfViewer is in continuous reading mode or page-by-page reading mode. Default value is Continuous.
Declaration
public PageViewMode PageViewMode { get; set; }
Property Value
Type |
---|
PageViewMode |
PerformRedoCommand
Gets or sets defines command for the redo action of the annotation in PDF viewer control.
Declaration
public ICommand PerformRedoCommand { get; set; }
Property Value
Type |
---|
System.Windows.Input.ICommand |
PerformUndoCommand
Gets or sets defines command for the undo action of the annotation in PDF viewer control.
Declaration
public ICommand PerformUndoCommand { get; set; }
Property Value
Type |
---|
System.Windows.Input.ICommand |
PersistZoomOnPageChange
Gets or sets a value that indicates whether the zoom in the current page should be retained when navigated to another page in page-by-page view mode.
Declaration
public bool PersistZoomOnPageChange { get; set; }
Property Value
Type |
---|
System.Boolean |
Remarks
The values assigned to this API do not affect the continuous page view mode.
PreserveSignaturePadOrientation
Gets or sets a value indicating whether if set to true, device orientation is maintained when signature mode begins.If set to false, orientation is changed to Landscape. Default value is false. This property is applicable only to phone.
Declaration
public bool PreserveSignaturePadOrientation { get; set; }
Property Value
Type |
---|
System.Boolean |
PrinterSettings
Get or Sets the printer settings of the printer
Declaration
public PrinterSettings PrinterSettings { get; set; }
Property Value
Type |
---|
PrinterSettings |
Remarks
This Property is only used for Forms UWP
RedoInkCommand
Gets or sets defines command for the redo action of the ink session in PDF viewer control.
Declaration
public ICommand RedoInkCommand { get; set; }
Property Value
Type |
---|
System.Windows.Input.ICommand |
RemoveAnnotationCommand
Gets or sets defines command to delete the selected annotation in PDF viewer control.
Declaration
public ICommand RemoveAnnotationCommand { get; set; }
Property Value
Type |
---|
System.Windows.Input.ICommand |
SearchNextTextCommand
Gets or sets defines command to find the next occurrence of the text being searched.
Declaration
public ICommand SearchNextTextCommand { get; set; }
Property Value
Type |
---|
System.Windows.Input.ICommand |
SearchPreviousTextCommand
Gets or sets defines command to find the previous occurrence of the text being searched.
Declaration
public ICommand SearchPreviousTextCommand { get; set; }
Property Value
Type |
---|
System.Windows.Input.ICommand |
SearchTextCommand
Gets or sets defines command to find all occurrences of the given text in the PDF document.
Declaration
public ICommand SearchTextCommand { get; set; }
Property Value
Type |
---|
System.Windows.Input.ICommand |
SelectedAnnotation
Gets the selected annotation type.
Declaration
public IAnnotation SelectedAnnotation { get; }
Property Value
Type | Description |
---|---|
IAnnotation | The selected annotation allows the user to customize appearance of the selected annotation. |
SelectedText
Gets the text selected in the page of the PDF document.
Declaration
public string SelectedText { get; }
Property Value
Type | Description |
---|---|
System.String | A string that provides the text that is being selected. |
SelectionMode
Gets or sets the selection mode in SfPdfViewer is made by annotation or not.
Declaration
public SelectionMode SelectionMode { get; set; }
Property Value
Type |
---|
SelectionMode |
ShowPageFlipNavigationArrows
Gets or sets a value indicating whether the arrows to navigate to the previous and next page in the PageByPage view mode in UWP platform are shown or not.
Declaration
public bool ShowPageFlipNavigationArrows { get; set; }
Property Value
Type |
---|
System.Boolean |
Remarks
Changing the value of this property does not have any effect in Android and iOS platforms.
ShowPageNumber
Gets or sets a value indicating whether gets or sets the value to toggling visibility of page number label while scrolling in PDF viewer control.
Declaration
public bool ShowPageNumber { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean | The flag that specifies the visibility of the page number label while scrolling in PDF viewer control. |
TextSearchSettings
Gets or sets the TextSearchSettings associated with the text search operations.
Declaration
public TextSearchSettings TextSearchSettings { get; set; }
Property Value
Type | Description |
---|---|
TextSearchSettings | The text search settings allows the user to customize the color in which the highlighted matches are filled. |
TextSelectionSettings
Gets or sets the TextSelectionSettings associated with text selection.
Declaration
public TextSelectionSettings TextSelectionSettings { get; set; }
Property Value
Type | Description |
---|---|
TextSelectionSettings | The text selection settings allows the user to customize the color in which selection is made, color of the bubble head and so on. |
Toolbar
Gets or sets the properties of toolbar in SfPdfViewer.
Declaration
public Toolbar Toolbar { get; set; }
Property Value
Type |
---|
Toolbar |
TotalSearchTextOccurrences
Gets the total search text occurances.
Declaration
public int TotalSearchTextOccurrences { get; }
Property Value
Type |
---|
System.Int32 |
UndoInkCommand
Gets or sets defines command for the undo action of the ink session in PDF viewer control.
Declaration
public ICommand UndoInkCommand { get; set; }
Property Value
Type |
---|
System.Windows.Input.ICommand |
UnloadCommand
Gets or sets defines command to Unload the PDF viewer control.
Declaration
public ICommand UnloadCommand { get; set; }
Property Value
Type |
---|
System.Windows.Input.ICommand |
VerticalOffset
Gets or sets the current vertical scroll position of SfPdfViewer.
Declaration
public float VerticalOffset { get; set; }
Property Value
Type |
---|
System.Single |
VerticalScrollBarWidth
Gets or sets the width of the vertical scrollbar of SfPdfViewer in UWP desktop and tablet.
Declaration
public double VerticalScrollBarWidth { get; set; }
Property Value
Type |
---|
System.Double |
Remarks
Changing the value of this API has no effect in Android and iOS devices.
ViewMode
Gets or sets the view mode of SfPdfViewer class.
Declaration
public ViewMode ViewMode { get; set; }
Property Value
Type |
---|
ViewMode |
Remarks
It is applicable only for desktop application.
ZoomPercentage
Gets or sets the current zoom percentage of SfPdfViewer.
Declaration
public float ZoomPercentage { get; set; }
Property Value
Type |
---|
System.Single |
Methods
add_AnnotationMovedOrResized(AnnotationMovedOrResizedEventHandler)
Declaration
public void add_AnnotationMovedOrResized(AnnotationMovedOrResizedEventHandler value)
Parameters
Type | Name | Description |
---|---|---|
AnnotationMovedOrResizedEventHandler | value |
add_CanRedoInkModified(CanRedoInkModifiedEventHandler)
Declaration
public void add_CanRedoInkModified(CanRedoInkModifiedEventHandler value)
Parameters
Type | Name | Description |
---|---|---|
CanRedoInkModifiedEventHandler | value |
add_CanRedoModified(CanRedoModifiedEventHandler)
Declaration
public void add_CanRedoModified(CanRedoModifiedEventHandler value)
Parameters
Type | Name | Description |
---|---|---|
CanRedoModifiedEventHandler | value |
add_CanUndoInkModified(CanUndoInkModifiedEventHandler)
Declaration
public void add_CanUndoInkModified(CanUndoInkModifiedEventHandler value)
Parameters
Type | Name | Description |
---|---|---|
CanUndoInkModifiedEventHandler | value |
add_CanUndoModified(CanUndoModifiedEventHandler)
Declaration
public void add_CanUndoModified(CanUndoModifiedEventHandler value)
Parameters
Type | Name | Description |
---|---|---|
CanUndoModifiedEventHandler | value |
add_DocumentLoaded(DocumentLoadedEventHandler)
Declaration
public void add_DocumentLoaded(DocumentLoadedEventHandler value)
Parameters
Type | Name | Description |
---|---|---|
DocumentLoadedEventHandler | value |
add_DocumentSaveInitiated(DocumentSaveInitiatedEventHandler)
Declaration
public void add_DocumentSaveInitiated(DocumentSaveInitiatedEventHandler value)
Parameters
Type | Name | Description |
---|---|---|
DocumentSaveInitiatedEventHandler | value |
add_FreeTextAnnotationAdded(FreeTextAnnotationAddedEventHandler)
Declaration
public void add_FreeTextAnnotationAdded(FreeTextAnnotationAddedEventHandler value)
Parameters
Type | Name | Description |
---|---|---|
FreeTextAnnotationAddedEventHandler | value |
add_FreeTextAnnotationDeselected(FreeTextAnnotationDeselectedEventHandler)
Declaration
public void add_FreeTextAnnotationDeselected(FreeTextAnnotationDeselectedEventHandler value)
Parameters
Type | Name | Description |
---|---|---|
FreeTextAnnotationDeselectedEventHandler | value |
add_FreeTextAnnotationEdited(FreeTextAnnotationEditedEventHandler)
Declaration
public void add_FreeTextAnnotationEdited(FreeTextAnnotationEditedEventHandler value)
Parameters
Type | Name | Description |
---|---|---|
FreeTextAnnotationEditedEventHandler | value |
add_FreeTextAnnotationLongPressed(FreeTextAnnotationLongPressedEventHandler)
Declaration
public void add_FreeTextAnnotationLongPressed(FreeTextAnnotationLongPressedEventHandler value)
Parameters
Type | Name | Description |
---|---|---|
FreeTextAnnotationLongPressedEventHandler | value |
add_FreeTextAnnotationMovedOrResized(FreeTextAnnotationMovedOrResizedEventHandler)
Declaration
public void add_FreeTextAnnotationMovedOrResized(FreeTextAnnotationMovedOrResizedEventHandler value)
Parameters
Type | Name | Description |
---|---|---|
FreeTextAnnotationMovedOrResizedEventHandler | value |
add_FreeTextAnnotationRemoved(FreeTextAnnotationRemovedEventHandler)
Declaration
public void add_FreeTextAnnotationRemoved(FreeTextAnnotationRemovedEventHandler value)
Parameters
Type | Name | Description |
---|---|---|
FreeTextAnnotationRemovedEventHandler | value |
add_FreeTextAnnotationSelected(FreeTextAnnotationSelectedEventHandler)
Declaration
public void add_FreeTextAnnotationSelected(FreeTextAnnotationSelectedEventHandler value)
Parameters
Type | Name | Description |
---|---|---|
FreeTextAnnotationSelectedEventHandler | value |
add_FreeTextAnnotationTapped(FreeTextAnnotationTappedEventHandler)
Declaration
public void add_FreeTextAnnotationTapped(FreeTextAnnotationTappedEventHandler value)
Parameters
Type | Name | Description |
---|---|---|
FreeTextAnnotationTappedEventHandler | value |
add_FreeTextPopupAppearing(FreeTextPopupAppearingEventHandler)
Declaration
public void add_FreeTextPopupAppearing(FreeTextPopupAppearingEventHandler value)
Parameters
Type | Name | Description |
---|---|---|
FreeTextPopupAppearingEventHandler | value |
add_FreeTextPopupDisappeared(FreeTextPopupDisappearedEventHandler)
Declaration
public void add_FreeTextPopupDisappeared(FreeTextPopupDisappearedEventHandler value)
Parameters
Type | Name | Description |
---|---|---|
FreeTextPopupDisappearedEventHandler | value |
add_HyperlinkClicked(HyperlinkClickedEventHandler)
Declaration
public void add_HyperlinkClicked(HyperlinkClickedEventHandler value)
Parameters
Type | Name | Description |
---|---|---|
HyperlinkClickedEventHandler | value |
add_InkAdded(InkAddedEventHandler)
Declaration
public void add_InkAdded(InkAddedEventHandler value)
Parameters
Type | Name | Description |
---|---|---|
InkAddedEventHandler | value |
add_InkDeselected(InkDeselectedEventHandler)
Declaration
public void add_InkDeselected(InkDeselectedEventHandler value)
Parameters
Type | Name | Description |
---|---|---|
InkDeselectedEventHandler | value |
add_InkEdited(InkEditedEventHandler)
Declaration
public void add_InkEdited(InkEditedEventHandler value)
Parameters
Type | Name | Description |
---|---|---|
InkEditedEventHandler | value |
add_InkRemoved(InkRemovedEventHandler)
Declaration
public void add_InkRemoved(InkRemovedEventHandler value)
Parameters
Type | Name | Description |
---|---|---|
InkRemovedEventHandler | value |
add_InkSelected(InkSelectedEventHandler)
Declaration
public void add_InkSelected(InkSelectedEventHandler value)
Parameters
Type | Name | Description |
---|---|---|
InkSelectedEventHandler | value |
add_InkTapped(InkTappedEventHandler)
Declaration
public void add_InkTapped(InkTappedEventHandler value)
Parameters
Type | Name | Description |
---|---|---|
InkTappedEventHandler | value |
add_PageChanged(PageChangedEventHandler)
Declaration
public void add_PageChanged(PageChangedEventHandler value)
Parameters
Type | Name | Description |
---|---|---|
PageChangedEventHandler | value |
add_RedoPerformed(RedoPerformedEventHandler)
Declaration
public void add_RedoPerformed(RedoPerformedEventHandler value)
Parameters
Type | Name | Description |
---|---|---|
RedoPerformedEventHandler | value |
add_SearchCompleted(TextSearchCompletedEventHandler)
Declaration
public void add_SearchCompleted(TextSearchCompletedEventHandler value)
Parameters
Type | Name | Description |
---|---|---|
TextSearchCompletedEventHandler | value |
add_SearchInitiated(TextSearchInitiatedEventHandler)
Declaration
public void add_SearchInitiated(TextSearchInitiatedEventHandler value)
Parameters
Type | Name | Description |
---|---|---|
TextSearchInitiatedEventHandler | value |
add_ShapeAnnotationAdded(ShapeAnnotationAddedEventHandler)
Declaration
public void add_ShapeAnnotationAdded(ShapeAnnotationAddedEventHandler value)
Parameters
Type | Name | Description |
---|---|---|
ShapeAnnotationAddedEventHandler | value |
add_ShapeAnnotationDeselected(ShapeAnnotationDeselectedEventHandler)
Declaration
public void add_ShapeAnnotationDeselected(ShapeAnnotationDeselectedEventHandler value)
Parameters
Type | Name | Description |
---|---|---|
ShapeAnnotationDeselectedEventHandler | value |
add_ShapeAnnotationEdited(ShapeAnnotationEditedEventHandler)
Declaration
public void add_ShapeAnnotationEdited(ShapeAnnotationEditedEventHandler value)
Parameters
Type | Name | Description |
---|---|---|
ShapeAnnotationEditedEventHandler | value |
add_ShapeAnnotationRemoved(ShapeAnnotationRemovedEventHandler)
Declaration
public void add_ShapeAnnotationRemoved(ShapeAnnotationRemovedEventHandler value)
Parameters
Type | Name | Description |
---|---|---|
ShapeAnnotationRemovedEventHandler | value |
add_ShapeAnnotationSelected(ShapeAnnotationSelectedEventHandler)
Declaration
public void add_ShapeAnnotationSelected(ShapeAnnotationSelectedEventHandler value)
Parameters
Type | Name | Description |
---|---|---|
ShapeAnnotationSelectedEventHandler | value |
add_ShapeAnnotationTapped(ShapeAnnotationTappedEventHandler)
Declaration
public void add_ShapeAnnotationTapped(ShapeAnnotationTappedEventHandler value)
Parameters
Type | Name | Description |
---|---|---|
ShapeAnnotationTappedEventHandler | value |
add_TextMarkupAdded(TextMarkupAddedEventHandler)
Declaration
public void add_TextMarkupAdded(TextMarkupAddedEventHandler value)
Parameters
Type | Name | Description |
---|---|---|
TextMarkupAddedEventHandler | value |
add_TextMarkupDeselected(TextMarkupDeselectedEventHandler)
Declaration
public void add_TextMarkupDeselected(TextMarkupDeselectedEventHandler value)
Parameters
Type | Name | Description |
---|---|---|
TextMarkupDeselectedEventHandler | value |
add_TextMarkupEdited(TextMarkupEditedEventHandler)
Declaration
public void add_TextMarkupEdited(TextMarkupEditedEventHandler value)
Parameters
Type | Name | Description |
---|---|---|
TextMarkupEditedEventHandler | value |
add_TextMarkupLongPressed(TextMarkupLongPressedEventHandler)
Declaration
public void add_TextMarkupLongPressed(TextMarkupLongPressedEventHandler value)
Parameters
Type | Name | Description |
---|---|---|
TextMarkupLongPressedEventHandler | value |
add_TextMarkupRemoved(TextMarkupRemovedEventHandler)
Declaration
public void add_TextMarkupRemoved(TextMarkupRemovedEventHandler value)
Parameters
Type | Name | Description |
---|---|---|
TextMarkupRemovedEventHandler | value |
add_TextMarkupSelected(TextMarkupSelectedEventHandler)
Declaration
public void add_TextMarkupSelected(TextMarkupSelectedEventHandler value)
Parameters
Type | Name | Description |
---|---|---|
TextMarkupSelectedEventHandler | value |
add_TextMarkupTapped(TextMarkupTappedEventHandler)
Declaration
public void add_TextMarkupTapped(TextMarkupTappedEventHandler value)
Parameters
Type | Name | Description |
---|---|---|
TextMarkupTappedEventHandler | value |
add_TextMatchFound(TextMatchFoundEventHandler)
Declaration
public void add_TextMatchFound(TextMatchFoundEventHandler value)
Parameters
Type | Name | Description |
---|---|---|
TextMatchFoundEventHandler | value |
add_TextSelectionCompleted(TextSelectionEventHandler)
Declaration
public void add_TextSelectionCompleted(TextSelectionEventHandler value)
Parameters
Type | Name | Description |
---|---|---|
TextSelectionEventHandler | value |
add_UndoPerformed(UndoPerformedEventHandler)
Declaration
public void add_UndoPerformed(UndoPerformedEventHandler value)
Parameters
Type | Name | Description |
---|---|---|
UndoPerformedEventHandler | value |
add_UnhandledConditionOccurred(UnhandledConditionEventHandler)
Declaration
public void add_UnhandledConditionOccurred(UnhandledConditionEventHandler value)
Parameters
Type | Name | Description |
---|---|---|
UnhandledConditionEventHandler | value |
AddAnnotation(IAnnotation)
Adds an annotation to the specified page.
Declaration
public void AddAnnotation(IAnnotation annotation)
Parameters
Type | Name | Description |
---|---|---|
IAnnotation | annotation | The annotation to be added. |
AddHandwrittenSignature(HandwrittenSignature, Dictionary<Int32, List<Point>>)
Declaration
public void AddHandwrittenSignature(HandwrittenSignature signature, Dictionary<int, List<Point>> positionCollection)
Parameters
Type | Name | Description |
---|---|---|
HandwrittenSignature | signature | |
System.Collections.Generic.Dictionary<System.Int32, System.Collections.Generic.List<System.Drawing.Point>> | positionCollection |
AddHandwrittenSignature(HandwrittenSignature, Point, Int32)
Declaration
public void AddHandwrittenSignature(HandwrittenSignature signature, Point position, int pageNumber = -1)
Parameters
Type | Name | Description |
---|---|---|
HandwrittenSignature | signature | |
System.Drawing.Point | position | |
System.Int32 | pageNumber |
AddHandwrittenSignature(HandwrittenSignature, Int32)
Declaration
public void AddHandwrittenSignature(HandwrittenSignature signature, int pageNumber = -1)
Parameters
Type | Name | Description |
---|---|---|
HandwrittenSignature | signature | |
System.Int32 | pageNumber |
AddStamp(View, Int32)
To include the custom Stamp to the page.
Declaration
public void AddStamp(View customView, int pageNumber)
Parameters
Type | Name | Description |
---|---|---|
Xamarin.Forms.View | customView | customView value. |
System.Int32 | pageNumber | pageNumber value. |
AddStamp(View, Int32, Point)
To include the custom Stamp to the page.
Declaration
public void AddStamp(View customView, int pageNumber, Point position)
Parameters
Type | Name | Description |
---|---|---|
Xamarin.Forms.View | customView | customView value. |
System.Int32 | pageNumber | pageNumber value. |
Xamarin.Forms.Point | position | position value. |
AddStamp(View, Int32, Rectangle)
To include the custom Stamp to the page.
Declaration
public void AddStamp(View customView, int pageNumber, Rectangle bounds)
Parameters
Type | Name | Description |
---|---|---|
Xamarin.Forms.View | customView | customView value. |
System.Int32 | pageNumber | pageNumber value. |
Xamarin.Forms.Rectangle | bounds | bounds value. |
CancelSearch()
Cancels the text Search operation.
Declaration
public void CancelSearch()
ClearAllAnnotations()
Delete all the annotations in the whole PDF document.
Declaration
public void ClearAllAnnotations()
ClearAllAnnotations(Int32)
Delete all the annotations in the given page.
Declaration
public void ClearAllAnnotations(int pageNumber)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | pageNumber | The page in which all the annotations to be cleared. |
ClearFormData(Int32)
Clears all form data.
Declaration
public void ClearFormData(int pageNumber = 0)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | pageNumber | The page number in which all form fields should be cleared and the fields in the other pages will be left unchanged. This parameter ranges from 1 to the total page count of the document. |
ClearUndoRedoStack()
Declaration
public void ClearUndoRedoStack()
ConvertClientPointToPagePoint(Point, Int32)
Converts a point from the client area coordinates to PDF page coordinates.
Declaration
public Point ConvertClientPointToPagePoint(Point clientPoint, int pageNumber)
Parameters
Type | Name | Description |
---|---|---|
Xamarin.Forms.Point | clientPoint | The client point to convert. The client point coordinates start from the top-left corner of the ClientRectangle. |
System.Int32 | pageNumber | The page number corresponding to the client point. The page number can be obtained using the GetPageNumberFromClientPoint(Point) method. |
Returns
Type |
---|
Xamarin.Forms.Point |
ConvertPagePointToClientPoint(Point, Int32)
Converts a point from PDF page coordinates to client area coordinates.
Declaration
public Point ConvertPagePointToClientPoint(Point pagePoint, int pageNumber)
Parameters
Type | Name | Description |
---|---|---|
Xamarin.Forms.Point | pagePoint | The PDF page point to convert. The page point coordinates start from the top-left corner of the page corresponding to the given page number. |
System.Int32 | pageNumber | The page number corresponding to the page point. |
Returns
Type |
---|
Xamarin.Forms.Point |
ConvertPagePointToScrollPoint(Point, Int32)
Converts a point from the PDF page coordinates to the scroll area coordinates of the SfPdfViewer control.
Declaration
public Point ConvertPagePointToScrollPoint(Point pagePoint, int pageNumber)
Parameters
Type | Name | Description |
---|---|---|
Xamarin.Forms.Point | pagePoint | The PDF page point to convert. The page point coordinates start from the top-left corner of the page corresponding to the given page number. |
System.Int32 | pageNumber | The page number corresponding to the page point. |
Returns
Type |
---|
Xamarin.Forms.Point |
Remarks
The scroll coordinates start at the top-left of the first page and end at the bottom-right of the last page. The scroll coordinates are subject to change when ZoomPercentage changes.
DeselectAnnotation(IAnnotation)
Deselects the specified annotation. Calling this method has no effect if the given annotation is not selected.
Declaration
public void DeselectAnnotation(IAnnotation annotation)
Parameters
Type | Name | Description |
---|---|---|
IAnnotation | annotation | The annotation to be deselected. . |
Dispose()
Disposes the managed resources.
Declaration
public void Dispose()
Dispose(Boolean)
Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing |
EditFreeTextAnnotation()
Edits the selected free text annotation in the PDF document.
Declaration
public void EditFreeTextAnnotation()
EditPopupAnnotationText()
Edits the selected popup annotation in the PDF document.
Declaration
public void EditPopupAnnotationText()
EndInkSession(Boolean)
Save or unsave session ink.
Declaration
public void EndInkSession(bool save)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | save | The. |
ExportAnnotations(AnnotationDataFormat)
Exports the annotation data into the specified format.
Declaration
public Stream ExportAnnotations(AnnotationDataFormat format)
Parameters
Type | Name | Description |
---|---|---|
AnnotationDataFormat | format | The format in which the exported data are going to be saved. |
Returns
Type | Description |
---|---|
System.IO.Stream | return ExportAnnotations. |
ExportAnnotations(List<IAnnotation>, AnnotationDataFormat)
Exports the given collection of annotations in the specified format.
Declaration
public Stream ExportAnnotations(List<IAnnotation> annotations, AnnotationDataFormat format)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.List<IAnnotation> | annotations | The list of annotations to be exported. |
AnnotationDataFormat | format | The format in which the annotations data has to be exported. |
Returns
Type |
---|
System.IO.Stream |
Remarks
The method exports only the annotations that are contained in the given collection and ignores the other annotations in the PDF.
ExportAnnotationsAsync(AnnotationDataFormat, CancellationToken)
Exports the annotation data into the specified format asynchronously.
Declaration
public Task<Stream> ExportAnnotationsAsync(AnnotationDataFormat format, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
AnnotationDataFormat | format | The format in which the annotation data has to be exported. |
System.Threading.CancellationToken | cancellationToken | A cancellation token to receive notice of cancellation. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<System.IO.Stream> | return ExportAnnotationsAsync. |
ExportAnnotationsAsync(List<IAnnotation>, AnnotationDataFormat, CancellationToken)
Exports the given collection of annotations asynchronously in the specified format.
Declaration
public Task<Stream> ExportAnnotationsAsync(List<IAnnotation> annotations, AnnotationDataFormat format, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.List<IAnnotation> | annotations | The list of annotations to be exported. |
AnnotationDataFormat | format | The format in which the annotations data has to be exported. |
System.Threading.CancellationToken | cancellationToken | A cancellation token to receive notice of cancellation. |
Returns
Type |
---|
System.Threading.Tasks.Task<System.IO.Stream> |
Remarks
The method exports only the annotations that are contained in the given collection and ignores the other annotations in the PDF.
ExportAsImage(Int32)
Exports the page with the given index as an image.
Declaration
public Stream ExportAsImage(int pageIndex)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | pageIndex | Index of the page to be exported. |
Returns
Type | Description |
---|---|
System.IO.Stream | return ExportAsImage. |
ExportAsImage(Int32, Int32)
Exports the pages with indices in the given range as images.
Declaration
public Stream[] ExportAsImage(int pageStartIndex, int pageEndIndex)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | pageStartIndex | Start index in the range of pages to be exported. |
System.Int32 | pageEndIndex | End index in the range of pages to be exported. |
Returns
Type | Description |
---|---|
System.IO.Stream[] | return ExportAsImage. |
ExportAsImage(Int32, Int32, Single)
Exports the pages with indices in the given range as images and scales the images by the given factor.
Declaration
public Stream[] ExportAsImage(int pageStartIndex, int pageEndIndex, float scaleFactor)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | pageStartIndex | Start index in the range of pages to be exported. |
System.Int32 | pageEndIndex | End index in the range of pages to be exported. |
System.Single | scaleFactor | The factor by which the images’ dimensions are to be scaled. |
Returns
Type | Description |
---|---|
System.IO.Stream[] | return ExportAsImage. |
ExportAsImage(Int32, Single)
Exports the page with the given index as an image and scales the image by the given factor.
Declaration
public Stream ExportAsImage(int pageIndex, float scaleFactor)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | pageIndex | Index of the page to be exported. |
System.Single | scaleFactor | The factor by which the image dimensions are to be scaled. |
Returns
Type | Description |
---|---|
System.IO.Stream | return ExportAsImage. |
ExportAsImageAsync(Int32, Int32, Single, CancellationToken)
Exports the pages with indices in the given range as images asynchrously and scales the images by the given factor.
Declaration
public Task<Stream[]> ExportAsImageAsync(int pageStartIndex, int pageEndIndex, float scaleFactor, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | pageStartIndex | Start index in the range of pages to be exported. |
System.Int32 | pageEndIndex | End index in the range of pages to be exported. |
System.Single | scaleFactor | The factor by which the images’ dimensions are to be scaled. |
System.Threading.CancellationToken | cancellationToken | A cancellation token to receive notice of cancellation. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<System.IO.Stream[]> | return ExportAsImageAsync. |
ExportAsImageAsync(Int32, Int32, CancellationToken)
Exports the pages with indices in the given range as images asynchrously.
Declaration
public Task<Stream[]> ExportAsImageAsync(int pageStartIndex, int pageEndIndex, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | pageStartIndex | Start index in the range of pages to be exported. |
System.Int32 | pageEndIndex | End index in the range of pages to be exported. |
System.Threading.CancellationToken | cancellationToken | A cancellation token to receive notice of cancellation. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<System.IO.Stream[]> | return ExportAsImageAsync. |
ExportAsImageAsync(Int32, Single, CancellationToken)
Exports the page with the given index as an image asynchrously and scales the image by the given factor.
Declaration
public Task<Stream> ExportAsImageAsync(int pageIndex, float scaleFactor, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | pageIndex | Index of the page to be exported. |
System.Single | scaleFactor | The factor by which the image dimensions are to be scaled. |
System.Threading.CancellationToken | cancellationToken | A cancellation token to receive notice of cancellation. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<System.IO.Stream> | return ExportAsImageAsync. |
ExportAsImageAsync(Int32, CancellationToken)
Exports the page with the given index as an image asynchrously.
Declaration
public Task<Stream> ExportAsImageAsync(int pageIndex, CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | pageIndex | Index of the page to be exported. |
System.Threading.CancellationToken | cancellationToken | A cancellation token to receive notice of cancellation. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<System.IO.Stream> | return ExportAsImageAsync. |
ExportFormData(DataFormat, String)
Exports the form field values into the specified format.
Declaration
public Stream ExportFormData(DataFormat format, string name)
Parameters
Type | Name | Description |
---|---|---|
DataFormat | format | The format in which the exported data are going to be saved. |
System.String | name | Name of the PDF file whose form fields the exported forms data file fills. |
Returns
Type | Description |
---|---|
System.IO.Stream | return ExportFormData. |
GetPageNumberFromClientPoint(Point)
Gets the page number corresponding to the client point.
Declaration
public int GetPageNumberFromClientPoint(Point clientPoint)
Parameters
Type | Name | Description |
---|---|---|
Xamarin.Forms.Point | clientPoint | The client point corresponding to the page number. The client point coordinates start from the top-left corner of the ClientRectangle. |
Returns
Type |
---|
System.Int32 |
GoToBookmark(PdfBookmark)
Navigates the PdfViewer to the location specified by the given bookmark destination.
Declaration
public void GoToBookmark(PdfBookmark bookmark)
Parameters
Type | Name | Description |
---|---|---|
PdfBookmark | bookmark | The bookmark to navigate to. |
GoToBookmark(CustomBookmark)
Navigates to the location in the PDF document pointed by the custom bookmark.
Declaration
public void GoToBookmark(CustomBookmark customBookmark)
Parameters
Type | Name | Description |
---|---|---|
CustomBookmark | customBookmark | The custom bookmark to navigate to. |
GoToNextPage()
Navigates to the next page of the PDF document.
Declaration
public void GoToNextPage()
GoToPage(Int32)
Navigates to the specified page of the PDF document.
Declaration
public void GoToPage(int pageNumber)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | pageNumber | The number of the page to navigate to. |
GoToPreviousPage()
Navigates to the previous page of the PDF document.
Declaration
public void GoToPreviousPage()
ImportAnnotations(Stream, AnnotationDataFormat)
Imports the annotation data in the specified format into the PDF.
Declaration
public void ImportAnnotations(Stream inputStream, AnnotationDataFormat format)
Parameters
Type | Name | Description |
---|---|---|
System.IO.Stream | inputStream | Stream read from the annotation data file. |
AnnotationDataFormat | format | The format of the annotation data file from which the inputStream is read. |
ImportFormData(Stream, DataFormat)
Imports the form data in the specified format into the form fields of the PDF.
Declaration
public void ImportFormData(Stream inputStream, DataFormat format)
Parameters
Type | Name | Description |
---|---|---|
System.IO.Stream | inputStream | Stream read from the form data file. |
DataFormat | format | The format of the form data file from which the inputStream is read. |
LayoutChildren(Double, Double, Double, Double)
Layout the childviews present in SfPdfViewer.
Declaration
protected override void LayoutChildren(double x, double y, double width, double height)
Parameters
Type | Name | Description |
---|---|---|
System.Double | x | X co-ordinate of SfPdfViewer. |
System.Double | y | Y co-ordinate of SfPdfViewer. |
System.Double | width | Width of SfPdfViewer. |
System.Double | height | Height of SfPdfViewer. |
LoadDocument(Stream)
Loads a PDF document to SfPdfViewer from the specified stream.
Declaration
public void LoadDocument(Stream stream)
Parameters
Type | Name | Description |
---|---|---|
System.IO.Stream | stream | The stream that contains the data of the PDF document. |
LoadDocument(Stream, String)
Declaration
public void LoadDocument(Stream stream, string password)
Parameters
Type | Name | Description |
---|---|---|
System.IO.Stream | stream | |
System.String | password |
LoadDocumentAsync(Stream, String, CancellationTokenSource)
Declaration
public Task<Task> LoadDocumentAsync(Stream documentStream, string password, CancellationTokenSource cancellationTokenSource)
Parameters
Type | Name | Description |
---|---|---|
System.IO.Stream | documentStream | |
System.String | password | |
System.Threading.CancellationTokenSource | cancellationTokenSource |
Returns
Type |
---|
System.Threading.Tasks.Task<System.Threading.Tasks.Task> |
LoadDocumentAsync(Stream, CancellationTokenSource)
Loads the PDF document from the specified stream asynchronously. It has the same effect as the LoadDocument(Stream) method.
Declaration
public Task<Task> LoadDocumentAsync(Stream documentStream, CancellationTokenSource cancellationTokenSource)
Parameters
Type | Name | Description |
---|---|---|
System.IO.Stream | documentStream | document Stream. |
System.Threading.CancellationTokenSource | cancellationTokenSource | A cancellation token to receive notice of cancellationTokenSource. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<System.Threading.Tasks.Task> | return LoadDocumentAsync. |
OnDocumentLoaded(Object, EventArgs)
Raises the DocumentLoaded event.
Declaration
public void OnDocumentLoaded(object sender, EventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Object | sender | The instance of SfPdfViewer which is the source of the event. |
System.EventArgs | e | The System.EventArgs that contains the event data. |
OnPageChanged(Object, PageChangedEventArgs)
Raises the PageChanged event.
Declaration
public void OnPageChanged(object sender, PageChangedEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Object | sender | The instance of SfPdfViewer that is the source of the event. |
PageChangedEventArgs | e | The PageChangedEventArgs that contains the event data. |
PerformRedo()
Performs redo operation.
Declaration
public void PerformRedo()
PerformUndo()
Performs undo operation.
Declaration
public void PerformUndo()
Print()
Prints the PDF.
Declaration
public void Print()
Print(String)
Prints the PDF with given file name.
Declaration
public void Print(string fileName)
Parameters
Type | Name | Description |
---|---|---|
System.String | fileName | The name with which the printed PDF will be saved. |
RedoInk()
Perform redo opeartion on ink session.
Declaration
public void RedoInk()
remove_AnnotationMovedOrResized(AnnotationMovedOrResizedEventHandler)
Declaration
public void remove_AnnotationMovedOrResized(AnnotationMovedOrResizedEventHandler value)
Parameters
Type | Name | Description |
---|---|---|
AnnotationMovedOrResizedEventHandler | value |
remove_CanRedoInkModified(CanRedoInkModifiedEventHandler)
Declaration
public void remove_CanRedoInkModified(CanRedoInkModifiedEventHandler value)
Parameters
Type | Name | Description |
---|---|---|
CanRedoInkModifiedEventHandler | value |
remove_CanRedoModified(CanRedoModifiedEventHandler)
Declaration
public void remove_CanRedoModified(CanRedoModifiedEventHandler value)
Parameters
Type | Name | Description |
---|---|---|
CanRedoModifiedEventHandler | value |
remove_CanUndoInkModified(CanUndoInkModifiedEventHandler)
Declaration
public void remove_CanUndoInkModified(CanUndoInkModifiedEventHandler value)
Parameters
Type | Name | Description |
---|---|---|
CanUndoInkModifiedEventHandler | value |
remove_CanUndoModified(CanUndoModifiedEventHandler)
Declaration
public void remove_CanUndoModified(CanUndoModifiedEventHandler value)
Parameters
Type | Name | Description |
---|---|---|
CanUndoModifiedEventHandler | value |
remove_DocumentLoaded(DocumentLoadedEventHandler)
Declaration
public void remove_DocumentLoaded(DocumentLoadedEventHandler value)
Parameters
Type | Name | Description |
---|---|---|
DocumentLoadedEventHandler | value |
remove_DocumentSaveInitiated(DocumentSaveInitiatedEventHandler)
Declaration
public void remove_DocumentSaveInitiated(DocumentSaveInitiatedEventHandler value)
Parameters
Type | Name | Description |
---|---|---|
DocumentSaveInitiatedEventHandler | value |
remove_FreeTextAnnotationAdded(FreeTextAnnotationAddedEventHandler)
Declaration
public void remove_FreeTextAnnotationAdded(FreeTextAnnotationAddedEventHandler value)
Parameters
Type | Name | Description |
---|---|---|
FreeTextAnnotationAddedEventHandler | value |
remove_FreeTextAnnotationDeselected(FreeTextAnnotationDeselectedEventHandler)
Declaration
public void remove_FreeTextAnnotationDeselected(FreeTextAnnotationDeselectedEventHandler value)
Parameters
Type | Name | Description |
---|---|---|
FreeTextAnnotationDeselectedEventHandler | value |
remove_FreeTextAnnotationEdited(FreeTextAnnotationEditedEventHandler)
Declaration
public void remove_FreeTextAnnotationEdited(FreeTextAnnotationEditedEventHandler value)
Parameters
Type | Name | Description |
---|---|---|
FreeTextAnnotationEditedEventHandler | value |
remove_FreeTextAnnotationLongPressed(FreeTextAnnotationLongPressedEventHandler)
Declaration
public void remove_FreeTextAnnotationLongPressed(FreeTextAnnotationLongPressedEventHandler value)
Parameters
Type | Name | Description |
---|---|---|
FreeTextAnnotationLongPressedEventHandler | value |
remove_FreeTextAnnotationMovedOrResized(FreeTextAnnotationMovedOrResizedEventHandler)
Declaration
public void remove_FreeTextAnnotationMovedOrResized(FreeTextAnnotationMovedOrResizedEventHandler value)
Parameters
Type | Name | Description |
---|---|---|
FreeTextAnnotationMovedOrResizedEventHandler | value |
remove_FreeTextAnnotationRemoved(FreeTextAnnotationRemovedEventHandler)
Declaration
public void remove_FreeTextAnnotationRemoved(FreeTextAnnotationRemovedEventHandler value)
Parameters
Type | Name | Description |
---|---|---|
FreeTextAnnotationRemovedEventHandler | value |
remove_FreeTextAnnotationSelected(FreeTextAnnotationSelectedEventHandler)
Declaration
public void remove_FreeTextAnnotationSelected(FreeTextAnnotationSelectedEventHandler value)
Parameters
Type | Name | Description |
---|---|---|
FreeTextAnnotationSelectedEventHandler | value |
remove_FreeTextAnnotationTapped(FreeTextAnnotationTappedEventHandler)
Declaration
public void remove_FreeTextAnnotationTapped(FreeTextAnnotationTappedEventHandler value)
Parameters
Type | Name | Description |
---|---|---|
FreeTextAnnotationTappedEventHandler | value |
remove_FreeTextPopupAppearing(FreeTextPopupAppearingEventHandler)
Declaration
public void remove_FreeTextPopupAppearing(FreeTextPopupAppearingEventHandler value)
Parameters
Type | Name | Description |
---|---|---|
FreeTextPopupAppearingEventHandler | value |
remove_FreeTextPopupDisappeared(FreeTextPopupDisappearedEventHandler)
Declaration
public void remove_FreeTextPopupDisappeared(FreeTextPopupDisappearedEventHandler value)
Parameters
Type | Name | Description |
---|---|---|
FreeTextPopupDisappearedEventHandler | value |
remove_HyperlinkClicked(HyperlinkClickedEventHandler)
Declaration
public void remove_HyperlinkClicked(HyperlinkClickedEventHandler value)
Parameters
Type | Name | Description |
---|---|---|
HyperlinkClickedEventHandler | value |
remove_InkAdded(InkAddedEventHandler)
Declaration
public void remove_InkAdded(InkAddedEventHandler value)
Parameters
Type | Name | Description |
---|---|---|
InkAddedEventHandler | value |
remove_InkDeselected(InkDeselectedEventHandler)
Declaration
public void remove_InkDeselected(InkDeselectedEventHandler value)
Parameters
Type | Name | Description |
---|---|---|
InkDeselectedEventHandler | value |
remove_InkEdited(InkEditedEventHandler)
Declaration
public void remove_InkEdited(InkEditedEventHandler value)
Parameters
Type | Name | Description |
---|---|---|
InkEditedEventHandler | value |
remove_InkRemoved(InkRemovedEventHandler)
Declaration
public void remove_InkRemoved(InkRemovedEventHandler value)
Parameters
Type | Name | Description |
---|---|---|
InkRemovedEventHandler | value |
remove_InkSelected(InkSelectedEventHandler)
Declaration
public void remove_InkSelected(InkSelectedEventHandler value)
Parameters
Type | Name | Description |
---|---|---|
InkSelectedEventHandler | value |
remove_InkTapped(InkTappedEventHandler)
Declaration
public void remove_InkTapped(InkTappedEventHandler value)
Parameters
Type | Name | Description |
---|---|---|
InkTappedEventHandler | value |
remove_PageChanged(PageChangedEventHandler)
Declaration
public void remove_PageChanged(PageChangedEventHandler value)
Parameters
Type | Name | Description |
---|---|---|
PageChangedEventHandler | value |
remove_RedoPerformed(RedoPerformedEventHandler)
Declaration
public void remove_RedoPerformed(RedoPerformedEventHandler value)
Parameters
Type | Name | Description |
---|---|---|
RedoPerformedEventHandler | value |
remove_SearchCompleted(TextSearchCompletedEventHandler)
Declaration
public void remove_SearchCompleted(TextSearchCompletedEventHandler value)
Parameters
Type | Name | Description |
---|---|---|
TextSearchCompletedEventHandler | value |
remove_SearchInitiated(TextSearchInitiatedEventHandler)
Declaration
public void remove_SearchInitiated(TextSearchInitiatedEventHandler value)
Parameters
Type | Name | Description |
---|---|---|
TextSearchInitiatedEventHandler | value |
remove_ShapeAnnotationAdded(ShapeAnnotationAddedEventHandler)
Declaration
public void remove_ShapeAnnotationAdded(ShapeAnnotationAddedEventHandler value)
Parameters
Type | Name | Description |
---|---|---|
ShapeAnnotationAddedEventHandler | value |
remove_ShapeAnnotationDeselected(ShapeAnnotationDeselectedEventHandler)
Declaration
public void remove_ShapeAnnotationDeselected(ShapeAnnotationDeselectedEventHandler value)
Parameters
Type | Name | Description |
---|---|---|
ShapeAnnotationDeselectedEventHandler | value |
remove_ShapeAnnotationEdited(ShapeAnnotationEditedEventHandler)
Declaration
public void remove_ShapeAnnotationEdited(ShapeAnnotationEditedEventHandler value)
Parameters
Type | Name | Description |
---|---|---|
ShapeAnnotationEditedEventHandler | value |
remove_ShapeAnnotationRemoved(ShapeAnnotationRemovedEventHandler)
Declaration
public void remove_ShapeAnnotationRemoved(ShapeAnnotationRemovedEventHandler value)
Parameters
Type | Name | Description |
---|---|---|
ShapeAnnotationRemovedEventHandler | value |
remove_ShapeAnnotationSelected(ShapeAnnotationSelectedEventHandler)
Declaration
public void remove_ShapeAnnotationSelected(ShapeAnnotationSelectedEventHandler value)
Parameters
Type | Name | Description |
---|---|---|
ShapeAnnotationSelectedEventHandler | value |
remove_ShapeAnnotationTapped(ShapeAnnotationTappedEventHandler)
Declaration
public void remove_ShapeAnnotationTapped(ShapeAnnotationTappedEventHandler value)
Parameters
Type | Name | Description |
---|---|---|
ShapeAnnotationTappedEventHandler | value |
remove_TextMarkupAdded(TextMarkupAddedEventHandler)
Declaration
public void remove_TextMarkupAdded(TextMarkupAddedEventHandler value)
Parameters
Type | Name | Description |
---|---|---|
TextMarkupAddedEventHandler | value |
remove_TextMarkupDeselected(TextMarkupDeselectedEventHandler)
Declaration
public void remove_TextMarkupDeselected(TextMarkupDeselectedEventHandler value)
Parameters
Type | Name | Description |
---|---|---|
TextMarkupDeselectedEventHandler | value |
remove_TextMarkupEdited(TextMarkupEditedEventHandler)
Declaration
public void remove_TextMarkupEdited(TextMarkupEditedEventHandler value)
Parameters
Type | Name | Description |
---|---|---|
TextMarkupEditedEventHandler | value |
remove_TextMarkupLongPressed(TextMarkupLongPressedEventHandler)
Declaration
public void remove_TextMarkupLongPressed(TextMarkupLongPressedEventHandler value)
Parameters
Type | Name | Description |
---|---|---|
TextMarkupLongPressedEventHandler | value |
remove_TextMarkupRemoved(TextMarkupRemovedEventHandler)
Declaration
public void remove_TextMarkupRemoved(TextMarkupRemovedEventHandler value)
Parameters
Type | Name | Description |
---|---|---|
TextMarkupRemovedEventHandler | value |
remove_TextMarkupSelected(TextMarkupSelectedEventHandler)
Declaration
public void remove_TextMarkupSelected(TextMarkupSelectedEventHandler value)
Parameters
Type | Name | Description |
---|---|---|
TextMarkupSelectedEventHandler | value |
remove_TextMarkupTapped(TextMarkupTappedEventHandler)
Declaration
public void remove_TextMarkupTapped(TextMarkupTappedEventHandler value)
Parameters
Type | Name | Description |
---|---|---|
TextMarkupTappedEventHandler | value |
remove_TextMatchFound(TextMatchFoundEventHandler)
Declaration
public void remove_TextMatchFound(TextMatchFoundEventHandler value)
Parameters
Type | Name | Description |
---|---|---|
TextMatchFoundEventHandler | value |
remove_TextSelectionCompleted(TextSelectionEventHandler)
Declaration
public void remove_TextSelectionCompleted(TextSelectionEventHandler value)
Parameters
Type | Name | Description |
---|---|---|
TextSelectionEventHandler | value |
remove_UndoPerformed(UndoPerformedEventHandler)
Declaration
public void remove_UndoPerformed(UndoPerformedEventHandler value)
Parameters
Type | Name | Description |
---|---|---|
UndoPerformedEventHandler | value |
remove_UnhandledConditionOccurred(UnhandledConditionEventHandler)
Declaration
public void remove_UnhandledConditionOccurred(UnhandledConditionEventHandler value)
Parameters
Type | Name | Description |
---|---|---|
UnhandledConditionEventHandler | value |
RemoveAnnotation(IAnnotation)
Clears the selected annotation.
Declaration
public void RemoveAnnotation(IAnnotation annotation)
Parameters
Type | Name | Description |
---|---|---|
IAnnotation | annotation | Selected annotation to be deleted. |
SaveDocument()
Saves the PDF document using SfPdfViewer.
Declaration
public Stream SaveDocument()
Returns
Type | Description |
---|---|
System.IO.Stream | Saved PDF document stream. |
SaveDocument(Boolean)
Saves the document and returns the stream.
Declaration
public Stream SaveDocument(bool flattenForm)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | flattenForm | Value indicating whether the form fields in the PDF are to be flattened while saving. Default value is |
Returns
Type | Description |
---|---|
System.IO.Stream | Saved PDF document as stream. |
SaveDocumentAsync(CancellationToken)
Saves the PDF document asynchronously using SfPdfViewer.
Declaration
public Task<Stream> SaveDocumentAsync(CancellationToken cancellationToken = null)
Parameters
Type | Name | Description |
---|---|---|
System.Threading.CancellationToken | cancellationToken | A token to receive notice of cancellation. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<System.IO.Stream> | Saved PDF document stream. |
ScrollToOffset(Single, Single)
Scrolls the SfPdfViewer to a position relative to the horizontal offset and vertical offset values.
Declaration
public void ScrollToOffset(float horizontalOffset, float verticalOffset)
Parameters
Type | Name | Description |
---|---|---|
System.Single | horizontalOffset | The value to which the control scrolls horizontally. |
System.Single | verticalOffset | The value to which the control scrolls vertically. |
SearchNext()
Finds the next occurrence of the text being searched.
Declaration
public void SearchNext()
SearchNext(String)
Finds the next occurrence of the text being searched.
Declaration
public void SearchNext(string text)
Parameters
Type | Name | Description |
---|---|---|
System.String | text | The text to be searched. |
SearchPrevious()
Finds the previous occurrence of the text being searched.
Declaration
public void SearchPrevious()
SearchPrevious(String)
Finds the previous occurrence of the text being searched.
Declaration
public void SearchPrevious(string text)
Parameters
Type | Name | Description |
---|---|---|
System.String | text | The text to be searched. |
SearchText(String)
Finds all occurrences of the given text in the PDF document.
Declaration
public void SearchText(string text)
Parameters
Type | Name | Description |
---|---|---|
System.String | text | The text to be searched. |
SelectAnnotation(IAnnotation)
Selects the specified annotation.
Declaration
public void SelectAnnotation(IAnnotation annotation)
Parameters
Type | Name | Description |
---|---|---|
IAnnotation | annotation | The annotation to be selected. |
UndoInk()
Perform undo opeartion on ink session.
Declaration
public void UndoInk()
Unload()
Unloads the PDF viewer control.
Declaration
public void Unload()
ZoomToRect(Rectangle)
Brings the given rectangular region to view and zooms in the document to fit the region in client area (view port).
Declaration
public void ZoomToRect(Rectangle rectangle)
Parameters
Type | Name | Description |
---|---|---|
Xamarin.Forms.Rectangle | rectangle | Specifies the region in client coordinates that is to be brought to view. |
Remarks
While zooming in to the given rectangular region, if the ZoomPercentage becomes either less than MinimumZoomPercentage or greater than MaximumZoomPercentage, the region will not be properly fit to the client area.
Events
AnnotationMovedOrResized
Occurs when an ink is moved.
Declaration
public event AnnotationMovedOrResizedEventHandler AnnotationMovedOrResized
Event Type
Type |
---|
AnnotationMovedOrResizedEventHandler |
AnnotationsLoaded
Declaration
public event EventHandler AnnotationsLoaded
Event Type
Type |
---|
System.EventHandler |
BookmarkNavigationOccurred
Occurs when a bookmark is navigated to
Declaration
public event EventHandler<BookmarkNavigationOccurredEventArgs> BookmarkNavigationOccurred
Event Type
Type |
---|
System.EventHandler<BookmarkNavigationOccurredEventArgs> |
CanRedoInkModified
Occurs when an redo property is modified.
Declaration
public event CanRedoInkModifiedEventHandler CanRedoInkModified
Event Type
Type |
---|
CanRedoInkModifiedEventHandler |
CanRedoModified
Occurs when an redo property is modified.
Declaration
public event CanRedoModifiedEventHandler CanRedoModified
Event Type
Type |
---|
CanRedoModifiedEventHandler |
CanUndoInkModified
Occurs when an undo property is modified.
Declaration
public event CanUndoInkModifiedEventHandler CanUndoInkModified
Event Type
Type |
---|
CanUndoInkModifiedEventHandler |
CanUndoModified
Occurs when an undo property is modified.
Declaration
public event CanUndoModifiedEventHandler CanUndoModified
Event Type
Type |
---|
CanUndoModifiedEventHandler |
DocumentLoaded
Occurs when a PDF document is finished loading to SfPdfViewer.
Declaration
public event DocumentLoadedEventHandler DocumentLoaded
Event Type
Type |
---|
DocumentLoadedEventHandler |
DocumentSaveInitiated
Occurs when an document is saved
Declaration
public event DocumentSaveInitiatedEventHandler DocumentSaveInitiated
Event Type
Type |
---|
DocumentSaveInitiatedEventHandler |
DoubleTapped
Occurs when double tapped.
Declaration
public event EventHandler<TouchInteractionEventArgs> DoubleTapped
Event Type
Type |
---|
System.EventHandler<TouchInteractionEventArgs> |
FormFieldFocused
Occurs when text or signature form field is focused.
Declaration
public event EventHandler<FormFieldFocusedEventArgs> FormFieldFocused
Event Type
Type |
---|
System.EventHandler<FormFieldFocusedEventArgs> |
Remarks
This event will not occur when form fields of other types are focused.
FormFieldUnfocused
Occurs when text or signature form field is unfocused.
Declaration
public event EventHandler<FormFieldUnfocusedEventArgs> FormFieldUnfocused
Event Type
Type |
---|
System.EventHandler<FormFieldUnfocusedEventArgs> |
Remarks
This event will not occur when form fields of other types are unfocused.
FormFieldValueChanged
Occurs when the value of the form fields are changed.
Declaration
public event EventHandler<FormFieldValueChangedEventArgs> FormFieldValueChanged
Event Type
Type |
---|
System.EventHandler<FormFieldValueChangedEventArgs> |
FreeTextAnnotationAdded
Occurs when free text annotation is added.
Declaration
public event FreeTextAnnotationAddedEventHandler FreeTextAnnotationAdded
Event Type
Type |
---|
FreeTextAnnotationAddedEventHandler |
FreeTextAnnotationDeselected
Occurs when free text annotation is deselected.
Declaration
public event FreeTextAnnotationDeselectedEventHandler FreeTextAnnotationDeselected
Event Type
Type |
---|
FreeTextAnnotationDeselectedEventHandler |
FreeTextAnnotationEdited
Occurs when an undo operation is performed.
Declaration
public event FreeTextAnnotationEditedEventHandler FreeTextAnnotationEdited
Event Type
Type |
---|
FreeTextAnnotationEditedEventHandler |
FreeTextAnnotationLongPressed
Occurs when free text annotation is long pressed.
Declaration
public event FreeTextAnnotationLongPressedEventHandler FreeTextAnnotationLongPressed
Event Type
Type |
---|
FreeTextAnnotationLongPressedEventHandler |
FreeTextAnnotationMovedOrResized
Occurs when free text annotation is moved or resized.
Declaration
public event FreeTextAnnotationMovedOrResizedEventHandler FreeTextAnnotationMovedOrResized
Event Type
Type |
---|
FreeTextAnnotationMovedOrResizedEventHandler |
FreeTextAnnotationRemoved
Occurs when free text annotation is removed.
Declaration
public event FreeTextAnnotationRemovedEventHandler FreeTextAnnotationRemoved
Event Type
Type |
---|
FreeTextAnnotationRemovedEventHandler |
FreeTextAnnotationSelected
Occurs when free text annotation is selected.
Declaration
public event FreeTextAnnotationSelectedEventHandler FreeTextAnnotationSelected
Event Type
Type |
---|
FreeTextAnnotationSelectedEventHandler |
FreeTextAnnotationTapped
Occurs when free text annotation is tapped.
Declaration
public event FreeTextAnnotationTappedEventHandler FreeTextAnnotationTapped
Event Type
Type |
---|
FreeTextAnnotationTappedEventHandler |
FreeTextPopupAppearing
Occurs when edit text popup view is appearing
Declaration
public event FreeTextPopupAppearingEventHandler FreeTextPopupAppearing
Event Type
Type |
---|
FreeTextPopupAppearingEventHandler |
FreeTextPopupDisappeared
Occurs when edit text popup is disappearing
Declaration
public event FreeTextPopupDisappearedEventHandler FreeTextPopupDisappeared
Event Type
Type |
---|
FreeTextPopupDisappearedEventHandler |
HyperlinkClicked
Occurs when hyperlink click operation is performed.
Declaration
public event HyperlinkClickedEventHandler HyperlinkClicked
Event Type
Type |
---|
HyperlinkClickedEventHandler |
InkAdded
Occurs when an ink is added.
Declaration
public event InkAddedEventHandler InkAdded
Event Type
Type |
---|
InkAddedEventHandler |
InkDeselected
Occurs when an ink is deselected.
Declaration
public event InkDeselectedEventHandler InkDeselected
Event Type
Type |
---|
InkDeselectedEventHandler |
InkEdited
Occurs when an ink is edited.
Declaration
public event InkEditedEventHandler InkEdited
Event Type
Type |
---|
InkEditedEventHandler |
InkRemoved
Occurs when an ink is removed.
Declaration
public event InkRemovedEventHandler InkRemoved
Event Type
Type |
---|
InkRemovedEventHandler |
InkSelected
Occurs when an ink is selected.
Declaration
public event InkSelectedEventHandler InkSelected
Event Type
Type |
---|
InkSelectedEventHandler |
InkTapped
Occurs when an ink is tapped.
Declaration
public event InkTappedEventHandler InkTapped
Event Type
Type |
---|
InkTappedEventHandler |
LongPressed
Occurs when long pressed.
Declaration
public event EventHandler<TouchInteractionEventArgs> LongPressed
Event Type
Type |
---|
System.EventHandler<TouchInteractionEventArgs> |
PageChanged
Occurs when the value of PageNumber property changes.
Declaration
public event PageChangedEventHandler PageChanged
Event Type
Type |
---|
PageChangedEventHandler |
PageViewModeChanged
Occurs when the PageViewMode property changes.
Declaration
public event EventHandler<PageViewModeChangedEventArgs> PageViewModeChanged
Event Type
Type |
---|
System.EventHandler<PageViewModeChangedEventArgs> |
PasswordErrorOccurred
Occurs when Password Error encountered.
Declaration
public event EventHandler<PasswordErrorOccurredEventArgs> PasswordErrorOccurred
Event Type
Type |
---|
System.EventHandler<PasswordErrorOccurredEventArgs> |
PasswordViewCancelButtonClicked
Occurs when password view cancel operation is performed.
Declaration
public event EventHandler PasswordViewCancelButtonClicked
Event Type
Type |
---|
System.EventHandler |
PopupAnnotationAdded
Occurs when popup annotation is added.
Declaration
public event EventHandler PopupAnnotationAdded
Event Type
Type |
---|
System.EventHandler |
PopupAnnotationDeselected
Occurs when popup annotation is deselected.
Declaration
public event EventHandler PopupAnnotationDeselected
Event Type
Type |
---|
System.EventHandler |
PopupAnnotationEdited
Occurs when popup annotation is edited.
Declaration
public event EventHandler<PopupAnnotationEditedEventArgs> PopupAnnotationEdited
Event Type
Type |
---|
System.EventHandler<PopupAnnotationEditedEventArgs> |
PopupAnnotationLongPressed
Occurs when popup annotation is long pressed.
Declaration
public event EventHandler PopupAnnotationLongPressed
Event Type
Type |
---|
System.EventHandler |
PopupAnnotationMoved
Occurs when popup annotation is moved.
Declaration
public event EventHandler<PopupAnnotationMovedEventArgs> PopupAnnotationMoved
Event Type
Type |
---|
System.EventHandler<PopupAnnotationMovedEventArgs> |
PopupAnnotationRemoved
Occurs when popup annotation is removed.
Declaration
public event EventHandler PopupAnnotationRemoved
Event Type
Type |
---|
System.EventHandler |
PopupAnnotationSelected
Occurs when popup annotation is selected.
Declaration
public event EventHandler PopupAnnotationSelected
Event Type
Type |
---|
System.EventHandler |
PopupAnnotationTapped
Occurs when popup annotation is tapped.
Declaration
public event EventHandler PopupAnnotationTapped
Event Type
Type |
---|
System.EventHandler |
PopupAnnotationViewAppearing
Occurs when popup annotation edit popup appears.
Declaration
public event EventHandler PopupAnnotationViewAppearing
Event Type
Type |
---|
System.EventHandler |
PopupAnnotationViewDisappeared
Occurs when popup annotation edit popup disappears.
Declaration
public event EventHandler<PopupAnnotationViewDisappearedEventArgs> PopupAnnotationViewDisappeared
Event Type
Type |
---|
System.EventHandler<PopupAnnotationViewDisappearedEventArgs> |
PrintTaskRequested
Declaration
public event EventHandler<PdfViewerPrintTaskRequestedEventArgs> PrintTaskRequested
Event Type
Type |
---|
System.EventHandler<PdfViewerPrintTaskRequestedEventArgs> |
RedoPerformed
Occurs when an redo operation is performed.
Declaration
public event RedoPerformedEventHandler RedoPerformed
Event Type
Type |
---|
RedoPerformedEventHandler |
SearchCompleted
Occurs when a text search operation is completed.
Declaration
public event TextSearchCompletedEventHandler SearchCompleted
Event Type
Type |
---|
TextSearchCompletedEventHandler |
SearchInitiated
Occurs when a text search operation is initiated.
Declaration
public event TextSearchInitiatedEventHandler SearchInitiated
Event Type
Type |
---|
TextSearchInitiatedEventHandler |
ShapeAnnotationAdded
Occurs when a shape annotation added.
Declaration
public event ShapeAnnotationAddedEventHandler ShapeAnnotationAdded
Event Type
Type |
---|
ShapeAnnotationAddedEventHandler |
ShapeAnnotationDeselected
Occurs when a shape annotation Deselected.
Declaration
public event ShapeAnnotationDeselectedEventHandler ShapeAnnotationDeselected
Event Type
Type |
---|
ShapeAnnotationDeselectedEventHandler |
ShapeAnnotationEdited
Occurs when a shape annotation edited.
Declaration
public event ShapeAnnotationEditedEventHandler ShapeAnnotationEdited
Event Type
Type |
---|
ShapeAnnotationEditedEventHandler |
ShapeAnnotationRemoved
Occurs when a shape annotation removed.
Declaration
public event ShapeAnnotationRemovedEventHandler ShapeAnnotationRemoved
Event Type
Type |
---|
ShapeAnnotationRemovedEventHandler |
ShapeAnnotationSelected
Occurs when a shape annotation Selected.
Declaration
public event ShapeAnnotationSelectedEventHandler ShapeAnnotationSelected
Event Type
Type |
---|
ShapeAnnotationSelectedEventHandler |
ShapeAnnotationTapped
Occurs when a shape annotation tapped.
Declaration
public event ShapeAnnotationTappedEventHandler ShapeAnnotationTapped
Event Type
Type |
---|
ShapeAnnotationTappedEventHandler |
StampAnnotationAdded
Occurs when a customview is added.
Declaration
public event EventHandler<StampAnnotationAddedEventArgs> StampAnnotationAdded
Event Type
Type |
---|
System.EventHandler<StampAnnotationAddedEventArgs> |
StampAnnotationDeselected
Occurs when a custom view is deselected
Declaration
public event EventHandler<StampAnnotationDeselectedEventArgs> StampAnnotationDeselected
Event Type
Type |
---|
System.EventHandler<StampAnnotationDeselectedEventArgs> |
StampAnnotationMovedOrResized
Occurs when a custom view properties are modified
Declaration
public event EventHandler<StampAnnotationMovedOrResizedEventArgs> StampAnnotationMovedOrResized
Event Type
Type |
---|
System.EventHandler<StampAnnotationMovedOrResizedEventArgs> |
StampAnnotationRemoved
Occurs when a custom view is removed
Declaration
public event EventHandler<StampAnnotationRemovedEventArgs> StampAnnotationRemoved
Event Type
Type |
---|
System.EventHandler<StampAnnotationRemovedEventArgs> |
StampAnnotationSelected
Occurs when a customview is selected.
Declaration
public event EventHandler<StampAnnotationSelectedEventArgs> StampAnnotationSelected
Event Type
Type |
---|
System.EventHandler<StampAnnotationSelectedEventArgs> |
StampAnnotationTapped
Occurs when a customview is tapped.
Declaration
public event EventHandler<StampAnnotationTappedEventArgs> StampAnnotationTapped
Event Type
Type |
---|
System.EventHandler<StampAnnotationTappedEventArgs> |
Tapped
Occurs when tapped.
Declaration
public event EventHandler<TouchInteractionEventArgs> Tapped
Event Type
Type |
---|
System.EventHandler<TouchInteractionEventArgs> |
TextMarkupAdded
Occurs when an textmarkup annotation is added.
Declaration
public event TextMarkupAddedEventHandler TextMarkupAdded
Event Type
Type |
---|
TextMarkupAddedEventHandler |
TextMarkupDeselected
Occurs when an textmarkup annotation is deselected.
Declaration
public event TextMarkupDeselectedEventHandler TextMarkupDeselected
Event Type
Type |
---|
TextMarkupDeselectedEventHandler |
TextMarkupEdited
Occurs when an textmarkup annotation is edited.
Declaration
public event TextMarkupEditedEventHandler TextMarkupEdited
Event Type
Type |
---|
TextMarkupEditedEventHandler |
TextMarkupLongPressed
Occurs when an textmarkup annotation is long pressed.
Declaration
public event TextMarkupLongPressedEventHandler TextMarkupLongPressed
Event Type
Type |
---|
TextMarkupLongPressedEventHandler |
TextMarkupRemoved
Occurs when an textmarkup annotation is removed.
Declaration
public event TextMarkupRemovedEventHandler TextMarkupRemoved
Event Type
Type |
---|
TextMarkupRemovedEventHandler |
TextMarkupSelected
Occurs when an textmarkup annotation is selected.
Declaration
public event TextMarkupSelectedEventHandler TextMarkupSelected
Event Type
Type |
---|
TextMarkupSelectedEventHandler |
TextMarkupTapped
Occurs when an textmarkup annotation is selected.
Declaration
public event TextMarkupTappedEventHandler TextMarkupTapped
Event Type
Type |
---|
TextMarkupTappedEventHandler |
TextMatchFound
Occurs when a match for the searched text found.
Declaration
public event TextMatchFoundEventHandler TextMatchFound
Event Type
Type |
---|
TextMatchFoundEventHandler |
TextSelectionCompleted
Occurs when text selection is completed.
Declaration
public event TextSelectionEventHandler TextSelectionCompleted
Event Type
Type |
---|
TextSelectionEventHandler |
UndoPerformed
Occurs when an undo operation is performed.
Declaration
public event UndoPerformedEventHandler UndoPerformed
Event Type
Type |
---|
UndoPerformedEventHandler |
UnhandledConditionOccurred
Occurs when an unhandled condition occurs.
Declaration
public event UnhandledConditionEventHandler UnhandledConditionOccurred
Event Type
Type |
---|
UnhandledConditionEventHandler |