Class SfPdfViewer
Represents a view control that displays PDF documents.
Inheritance
System.Object
SfPdfViewer
Implements
System.IDisposable
Android.Views.View.IOnTouchListener
Android.Runtime.IJavaObject
Java.Interop.IJavaPeerable
Assembly: Syncfusion.SfPdfViewer.Android.dll
Syntax
public class SfPdfViewer : FrameLayout, IDisposable, View.IOnTouchListener, IJavaObject, IJavaPeerable
Constructors
SfPdfViewer(Context)
Initializes a new instance of the SfPdfViewer class with the specified context.
Declaration
public SfPdfViewer(Context context)
Parameters
Type |
Name |
Description |
Android.Content.Context |
context |
Contains information about the application environment.
|
SfPdfViewer(Context, IAttributeSet)
Initializes a new instance of the SfPdfViewer class with the specified context and attributes.
Declaration
public SfPdfViewer(Context context, IAttributeSet attrs)
Parameters
Type |
Name |
Description |
Android.Content.Context |
context |
Contains information about the application’s environment.
|
Android.Util.IAttributeSet |
attrs |
Collection of attributes as found associated with a tag in an XML document.
|
SfPdfViewer(Context, IAttributeSet, Int32)
Initializes a new instance of the SfPdfViewer class with the specified context and attributes.
Declaration
public SfPdfViewer(Context context, IAttributeSet attributeSet, int definedStyle)
Parameters
Type |
Name |
Description |
Android.Content.Context |
context |
Contains information about the application’s environment.
|
Android.Util.IAttributeSet |
attributeSet |
Collection of attributes as found associated with a tag in an XML document.
|
System.Int32 |
definedStyle |
The value indicating the defined style.
|
SfPdfViewer(Context, IAttributeSet, Int32, Int32)
Initializes a new instance of the SfPdfViewer class with the specified context and attributes.
Declaration
public SfPdfViewer(Context context, IAttributeSet attribute, int defaultStyleAttribute, int defaultStyleResource)
Parameters
Type |
Name |
Description |
Android.Content.Context |
context |
Contains information about the application’s environment.
|
Android.Util.IAttributeSet |
attribute |
Collection of attributes as found associated with a tag in an XML document.
|
System.Int32 |
defaultStyleAttribute |
The default style
|
System.Int32 |
defaultStyleResource |
The default resource
|
Properties
AllowHyperlinkNavigation
Gets or sets a value indicating whether 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.
|
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 text markup annotation.
Declaration
public AnnotationSettings AnnotationSettings { get; set; }
Property Value
BookmarkNavigationEnabled
Gets or sets the value that indicates whether bookmark navigation is enabled
Declaration
public bool BookmarkNavigationEnabled { get; set; }
Property Value
BookmarkPaneVisible
Gets or sets the value that indicates whether the bookmark pane is visible
Declaration
public bool BookmarkPaneVisible { get; set; }
Property Value
CanRedo
Gets a value indicating whether to notify whether we can perform redo operation in SfPdfViewer.
Declaration
public bool CanRedo { get; }
Property Value
Type |
Description |
System.Boolean |
The value that specifies whether the redo operation can be perform or not.
|
CanRedoInk
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 the value to notify whether we can perform undo operation in SfPdfViewer.
Declaration
public bool CanUndo { get; }
Property Value
Type |
Description |
System.Boolean |
The value that specifies whether the undo operation can be perform or not.
|
CanUndoInk
Gets the flag to notify 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.
|
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 Rect ClientRectangle { get; }
Property Value
Type |
Android.Graphics.Rect |
CurrentSearchTextOccurrence
Gets the current search text occurrence
Declaration
public int CurrentSearchTextOccurrence { get; }
Property Value
CustomPdfRenderer
Gets or sets the third party PDF renderer to be used to render PDF document in SfPdfViewer
Declaration
public ICustomPdfRenderer CustomPdfRenderer { get; set; }
Property Value
EnableDocumentLinkAnnotation
Enable or disable the DocumentLinkAnnotation of the PDF document
Declaration
public bool EnableDocumentLinkAnnotation { get; set; }
Property Value
If set to true enables the display, editing and saving of form fields. If set to false, the form fields are not even displayed at all. Default value is true.
Declaration
public bool EnableFormFilling { get; set; }
Property Value
Gets or sets the value that indicates whether ScrollHead is enabled
Declaration
public bool EnableScrollHead { get; set; }
Property Value
Gets or sets the settings that customize the rendering of form field elements.
Declaration
public FormSettings FormSettings { get; set; }
Property Value
HorizontalOffset
Gets or sets the current horizontal scroll position of SfPdfViewer.
Declaration
public float HorizontalOffset { get; set; }
Property Value
IsPageFlipEnabled
Gets or sets a value that indicates whether the pages can be flipped whenPageViewMode is set to PageViewMode.PageByPage
Declaration
public bool IsPageFlipEnabled { get; set; }
Property Value
IsPasswordViewEnabled
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 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 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.
|
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
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.
|
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 magnified. The default value is 100.
|
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
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
PreserveSignaturePadOrientation
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
SelectedAnnotation
Gets the selected annotation.
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
ShowPageNumber
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
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
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.
|
Gets or sets the properties of toolbar in SfPdfViewer
Declaration
public Toolbar Toolbar { get; set; }
Property Value
TotalSearchTextOccurrences
Gets the total search text occurances
Declaration
public int TotalSearchTextOccurrences { get; }
Property Value
VerticalOffset
Gets or sets the current vertical scroll position of SfPdfViewer.
Declaration
public float VerticalOffset { get; set; }
Property Value
ZoomPercentage
Gets or sets the current zoom percentage of SfPdfViewer.
Declaration
public float ZoomPercentage { get; set; }
Property Value
Methods
add_AnnotationMovedOrResized(AnnotationMovedOrResizedEventHandler)
Declaration
public void add_AnnotationMovedOrResized(AnnotationMovedOrResizedEventHandler value)
Parameters
add_CanRedoInkModified(CanRedoInkModifiedEventHandler)
Declaration
public void add_CanRedoInkModified(CanRedoInkModifiedEventHandler value)
Parameters
add_CanRedoModified(CanRedoModifiedEventHandler)
Declaration
public void add_CanRedoModified(CanRedoModifiedEventHandler value)
Parameters
add_CanUndoInkModified(CanUndoInkModifiedEventHandler)
Declaration
public void add_CanUndoInkModified(CanUndoInkModifiedEventHandler value)
Parameters
add_CanUndoModified(CanUndoModifiedEventHandler)
Declaration
public void add_CanUndoModified(CanUndoModifiedEventHandler value)
Parameters
add_DocumentLoaded(DocumentLoadedEventHandler)
Declaration
public void add_DocumentLoaded(DocumentLoadedEventHandler value)
Parameters
add_DocumentSaveInitiated(DocumentSaveInitiatedEventHandler)
Declaration
public void add_DocumentSaveInitiated(DocumentSaveInitiatedEventHandler value)
Parameters
add_FreeTextAnnotationAdded(FreeTextAnnotationAddedEventHandler)
Declaration
public void add_FreeTextAnnotationAdded(FreeTextAnnotationAddedEventHandler value)
Parameters
add_FreeTextAnnotationDeselected(FreeTextAnnotationDeselectedEventHandler)
Declaration
public void add_FreeTextAnnotationDeselected(FreeTextAnnotationDeselectedEventHandler value)
Parameters
add_FreeTextAnnotationEdited(FreeTextAnnotationEditedEventHandler)
Declaration
public void add_FreeTextAnnotationEdited(FreeTextAnnotationEditedEventHandler value)
Parameters
add_FreeTextAnnotationLongPressed(FreeTextAnnotationLongPressedEventHandler)
Declaration
public void add_FreeTextAnnotationLongPressed(FreeTextAnnotationLongPressedEventHandler value)
Parameters
add_FreeTextAnnotationMovedOrResized(FreeTextAnnotationMovedOrResizedEventHandler)
Declaration
public void add_FreeTextAnnotationMovedOrResized(FreeTextAnnotationMovedOrResizedEventHandler value)
Parameters
add_FreeTextAnnotationRemoved(FreeTextAnnotationRemovedEventHandler)
Declaration
public void add_FreeTextAnnotationRemoved(FreeTextAnnotationRemovedEventHandler value)
Parameters
add_FreeTextAnnotationSelected(FreeTextAnnotationSelectedEventHandler)
Declaration
public void add_FreeTextAnnotationSelected(FreeTextAnnotationSelectedEventHandler value)
Parameters
add_FreeTextAnnotationTapped(FreeTextAnnotationTappedEventHandler)
Declaration
public void add_FreeTextAnnotationTapped(FreeTextAnnotationTappedEventHandler value)
Parameters
add_FreeTextPopupAppearing(FreeTextPopupAppearingEventHandler)
Declaration
public void add_FreeTextPopupAppearing(FreeTextPopupAppearingEventHandler value)
Parameters
add_FreeTextPopupDisappeared(FreeTextPopupDisappearedEventHandler)
Declaration
public void add_FreeTextPopupDisappeared(FreeTextPopupDisappearedEventHandler value)
Parameters
add_HyperlinkClicked(HyperlinkClickedEventHandler)
Declaration
public void add_HyperlinkClicked(HyperlinkClickedEventHandler value)
Parameters
add_InkAdded(InkAddedEventHandler)
Declaration
public void add_InkAdded(InkAddedEventHandler value)
Parameters
add_InkDeselected(InkDeselectedEventHandler)
Declaration
public void add_InkDeselected(InkDeselectedEventHandler value)
Parameters
add_InkEdited(InkEditedEventHandler)
Declaration
public void add_InkEdited(InkEditedEventHandler value)
Parameters
add_InkRemoved(InkRemovedEventHandler)
Declaration
public void add_InkRemoved(InkRemovedEventHandler value)
Parameters
add_InkSelected(InkSelectedEventHandler)
Declaration
public void add_InkSelected(InkSelectedEventHandler value)
Parameters
add_InkTapped(InkTappedEventHandler)
Declaration
public void add_InkTapped(InkTappedEventHandler value)
Parameters
add_PageChanged(PageChangedEventHandler)
Declaration
public void add_PageChanged(PageChangedEventHandler value)
Parameters
Declaration
public void add_RedoPerformed(RedoEventHandler value)
Parameters
add_SearchCompleted(TextSearchCompletedEventHandler)
Declaration
public void add_SearchCompleted(TextSearchCompletedEventHandler value)
Parameters
add_SearchInitiated(TextSearchInitiatedEventHandler)
Declaration
public void add_SearchInitiated(TextSearchInitiatedEventHandler value)
Parameters
add_ShapeAnnotationAdded(ShapeAnnotationAddedEventHandler)
Declaration
public void add_ShapeAnnotationAdded(ShapeAnnotationAddedEventHandler value)
Parameters
add_ShapeAnnotationDeselected(ShapeAnnotationDeselectedEventHandler)
Declaration
public void add_ShapeAnnotationDeselected(ShapeAnnotationDeselectedEventHandler value)
Parameters
add_ShapeAnnotationEdited(ShapeAnnotationEditedEventHandler)
Declaration
public void add_ShapeAnnotationEdited(ShapeAnnotationEditedEventHandler value)
Parameters
add_ShapeAnnotationRemoved(ShapeAnnotationRemovedEventHandler)
Declaration
public void add_ShapeAnnotationRemoved(ShapeAnnotationRemovedEventHandler value)
Parameters
add_ShapeAnnotationSelected(ShapeAnnotationSelectedEventHandler)
Declaration
public void add_ShapeAnnotationSelected(ShapeAnnotationSelectedEventHandler value)
Parameters
add_ShapeAnnotationTapped(ShapeAnnotationTappedEventHandler)
Declaration
public void add_ShapeAnnotationTapped(ShapeAnnotationTappedEventHandler value)
Parameters
add_TextMarkupAdded(TextMarkupAddedEventHandler)
Declaration
public void add_TextMarkupAdded(TextMarkupAddedEventHandler value)
Parameters
add_TextMarkupDeselected(TextMarkupDeselectedEventHandler)
Declaration
public void add_TextMarkupDeselected(TextMarkupDeselectedEventHandler value)
Parameters
add_TextMarkupEdited(TextMarkupEditedEventHandler)
Declaration
public void add_TextMarkupEdited(TextMarkupEditedEventHandler value)
Parameters
add_TextMarkupLongPressed(TextMarkupLongPressedEventHandler)
Declaration
public void add_TextMarkupLongPressed(TextMarkupLongPressedEventHandler value)
Parameters
add_TextMarkupRemoved(TextMarkupRemovedEventHandler)
Declaration
public void add_TextMarkupRemoved(TextMarkupRemovedEventHandler value)
Parameters
add_TextMarkupSelected(TextMarkupSelectedEventHandler)
Declaration
public void add_TextMarkupSelected(TextMarkupSelectedEventHandler value)
Parameters
add_TextMarkupTapped(TextMarkupTappedEventHandler)
Declaration
public void add_TextMarkupTapped(TextMarkupTappedEventHandler value)
Parameters
add_TextMatchFound(TextMatchFoundEventHandler)
Declaration
public void add_TextMatchFound(TextMatchFoundEventHandler value)
Parameters
add_TextSelectionCompleted(TextSelectionEventHandler)
Declaration
public void add_TextSelectionCompleted(TextSelectionEventHandler value)
Parameters
Declaration
public void add_UndoPerformed(UndoEventHandler value)
Parameters
add_UnhandledConditionOccurred(UnhandledConditionEventHandler)
Declaration
public void add_UnhandledConditionOccurred(UnhandledConditionEventHandler value)
Parameters
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
AddStamp(View, Int32)
To include the custom Stamp to the page
Declaration
public void AddStamp(View customView, int pageNumber)
Parameters
Type |
Name |
Description |
Android.Views.View |
customView |
|
System.Int32 |
pageNumber |
|
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 |
Android.Views.View |
customView |
|
System.Int32 |
pageNumber |
|
Android.Graphics.Point |
position |
|
AddStamp(View, Int32, Rect)
To include the custom Stamp to the page
Declaration
public void AddStamp(View customView, int pageNumber, Rect bounds)
Parameters
Type |
Name |
Description |
Android.Views.View |
customView |
|
System.Int32 |
pageNumber |
|
Android.Graphics.Rect |
bounds |
|
CancelSearch()
Cancels the text search operation.
Declaration
public void CancelSearch()
ClearAllAnnotations()
Delete all the annotations in the whole document.
Declaration
public void ClearAllAnnotations()
ClearAllAnnotations(Int32)
Delete all the annotations in the given page.
Declaration
public void ClearAllAnnotations(int pageIndex)
Parameters
Type |
Name |
Description |
System.Int32 |
pageIndex |
|
ClearUndoRedoStack()
Declaration
public void ClearUndoRedoStack()
ConvertClientPointToPagePoint(PointF, Int32)
Converts a point from the client area coordinates to PDF page coordinates.
Declaration
public PointF ConvertClientPointToPagePoint(PointF clientPoint, int pageNumber)
Parameters
Type |
Name |
Description |
Android.Graphics.PointF |
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 method.
|
Returns
Type |
Android.Graphics.PointF |
ConvertPagePointToClientPoint(PointF, Int32)
Converts a point from PDF page coordinates to client area coordinates.
Declaration
public PointF ConvertPagePointToClientPoint(PointF pagePoint, int pageNumber)
Parameters
Type |
Name |
Description |
Android.Graphics.PointF |
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 |
Android.Graphics.PointF |
ConvertPagePointToScrollPoint(PointF, Int32)
Converts a point from the PDF page coordinates to the scroll area coordinates of the SfPdfViewer control.
Declaration
public PointF ConvertPagePointToScrollPoint(PointF pagePoint, int pageNumber)
Parameters
Type |
Name |
Description |
Android.Graphics.PointF |
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 |
Android.Graphics.PointF |
Remarks
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(Boolean)
Dispose the objects allocated for SfPdfViewer
Declaration
protected override void Dispose(bool disposing)
Parameters
Type |
Name |
Description |
System.Boolean |
disposing |
bool
|
EditFreeTextAnnotation()
Edits the selected free text annotation in the PDF document
Declaration
public void EditFreeTextAnnotation()
EndInkSession(Boolean)
Save or Unsave the ink of the current session.
Declaration
public void EndInkSession(bool save)
Parameters
Type |
Name |
Description |
System.Boolean |
save |
|
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
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
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
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
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
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
ExportAsImageAsync(Int32, Int32, Single, CancellationToken)
Exports the pages with indices in the given range as images asynchronously 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 |
System.Threading.Tasks.Task<System.IO.Stream[]> |
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 |
System.Threading.Tasks.Task<System.IO.Stream[]> |
ExportAsImageAsync(Int32, Single, CancellationToken)
Exports the page with the given index as an image asynchronously 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 |
System.Threading.Tasks.Task<System.IO.Stream> |
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 |
System.Threading.Tasks.Task<System.IO.Stream> |
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
GetPageNumberFromClientPoint(PointF)
Gets the page number corresponding to the client point.
Declaration
public int GetPageNumberFromClientPoint(PointF clientPoint)
Parameters
Type |
Name |
Description |
Android.Graphics.PointF |
clientPoint |
The client point corresponding to the page number. The client point coordinates start from the top-left corner of the ClientRectangle.
|
Returns
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
|
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()
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.
|
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.
|
LoadDocument(Stream)
Loads a PDF document to SfPdfViewer from the specified data 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)
Loads the PDF document from the specified stream with password asynchronously. It has the same effect as the LoadDocument(Stream, String) method.
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 |
|
System.Threading.CancellationTokenSource |
cancellationTokenSource |
|
Returns
Type |
System.Threading.Tasks.Task<System.Threading.Tasks.Task> |
OnDetachedFromWindow()
Gets or sets a value that indicates whether text selection is enabled.
Declaration
protected override void OnDetachedFromWindow()
OnLayout(Boolean, Int32, Int32, Int32, Int32)
Declaration
protected override void OnLayout(bool changed, int left, int top, int right, int bottom)
Parameters
Type |
Name |
Description |
System.Boolean |
changed |
|
System.Int32 |
left |
|
System.Int32 |
top |
|
System.Int32 |
right |
|
System.Int32 |
bottom |
|
Declaration
public void PerformRedo()
Declaration
public void PerformUndo()
Print()
Declaration
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 ink session redo operation.
Declaration
remove_AnnotationMovedOrResized(AnnotationMovedOrResizedEventHandler)
Declaration
public void remove_AnnotationMovedOrResized(AnnotationMovedOrResizedEventHandler value)
Parameters
remove_CanRedoInkModified(CanRedoInkModifiedEventHandler)
Declaration
public void remove_CanRedoInkModified(CanRedoInkModifiedEventHandler value)
Parameters
remove_CanRedoModified(CanRedoModifiedEventHandler)
Declaration
public void remove_CanRedoModified(CanRedoModifiedEventHandler value)
Parameters
remove_CanUndoInkModified(CanUndoInkModifiedEventHandler)
Declaration
public void remove_CanUndoInkModified(CanUndoInkModifiedEventHandler value)
Parameters
remove_CanUndoModified(CanUndoModifiedEventHandler)
Declaration
public void remove_CanUndoModified(CanUndoModifiedEventHandler value)
Parameters
remove_DocumentLoaded(DocumentLoadedEventHandler)
Declaration
public void remove_DocumentLoaded(DocumentLoadedEventHandler value)
Parameters
remove_DocumentSaveInitiated(DocumentSaveInitiatedEventHandler)
Declaration
public void remove_DocumentSaveInitiated(DocumentSaveInitiatedEventHandler value)
Parameters
remove_FreeTextAnnotationAdded(FreeTextAnnotationAddedEventHandler)
Declaration
public void remove_FreeTextAnnotationAdded(FreeTextAnnotationAddedEventHandler value)
Parameters
remove_FreeTextAnnotationDeselected(FreeTextAnnotationDeselectedEventHandler)
Declaration
public void remove_FreeTextAnnotationDeselected(FreeTextAnnotationDeselectedEventHandler value)
Parameters
remove_FreeTextAnnotationEdited(FreeTextAnnotationEditedEventHandler)
Declaration
public void remove_FreeTextAnnotationEdited(FreeTextAnnotationEditedEventHandler value)
Parameters
remove_FreeTextAnnotationLongPressed(FreeTextAnnotationLongPressedEventHandler)
Declaration
public void remove_FreeTextAnnotationLongPressed(FreeTextAnnotationLongPressedEventHandler value)
Parameters
remove_FreeTextAnnotationMovedOrResized(FreeTextAnnotationMovedOrResizedEventHandler)
Declaration
public void remove_FreeTextAnnotationMovedOrResized(FreeTextAnnotationMovedOrResizedEventHandler value)
Parameters
remove_FreeTextAnnotationRemoved(FreeTextAnnotationRemovedEventHandler)
Declaration
public void remove_FreeTextAnnotationRemoved(FreeTextAnnotationRemovedEventHandler value)
Parameters
remove_FreeTextAnnotationSelected(FreeTextAnnotationSelectedEventHandler)
Declaration
public void remove_FreeTextAnnotationSelected(FreeTextAnnotationSelectedEventHandler value)
Parameters
remove_FreeTextAnnotationTapped(FreeTextAnnotationTappedEventHandler)
Declaration
public void remove_FreeTextAnnotationTapped(FreeTextAnnotationTappedEventHandler value)
Parameters
remove_FreeTextPopupAppearing(FreeTextPopupAppearingEventHandler)
Declaration
public void remove_FreeTextPopupAppearing(FreeTextPopupAppearingEventHandler value)
Parameters
remove_FreeTextPopupDisappeared(FreeTextPopupDisappearedEventHandler)
Declaration
public void remove_FreeTextPopupDisappeared(FreeTextPopupDisappearedEventHandler value)
Parameters
remove_HyperlinkClicked(HyperlinkClickedEventHandler)
Declaration
public void remove_HyperlinkClicked(HyperlinkClickedEventHandler value)
Parameters
remove_InkAdded(InkAddedEventHandler)
Declaration
public void remove_InkAdded(InkAddedEventHandler value)
Parameters
remove_InkDeselected(InkDeselectedEventHandler)
Declaration
public void remove_InkDeselected(InkDeselectedEventHandler value)
Parameters
remove_InkEdited(InkEditedEventHandler)
Declaration
public void remove_InkEdited(InkEditedEventHandler value)
Parameters
remove_InkRemoved(InkRemovedEventHandler)
Declaration
public void remove_InkRemoved(InkRemovedEventHandler value)
Parameters
remove_InkSelected(InkSelectedEventHandler)
Declaration
public void remove_InkSelected(InkSelectedEventHandler value)
Parameters
remove_InkTapped(InkTappedEventHandler)
Declaration
public void remove_InkTapped(InkTappedEventHandler value)
Parameters
remove_PageChanged(PageChangedEventHandler)
Declaration
public void remove_PageChanged(PageChangedEventHandler value)
Parameters
Declaration
public void remove_RedoPerformed(RedoEventHandler value)
Parameters
remove_SearchCompleted(TextSearchCompletedEventHandler)
Declaration
public void remove_SearchCompleted(TextSearchCompletedEventHandler value)
Parameters
remove_SearchInitiated(TextSearchInitiatedEventHandler)
Declaration
public void remove_SearchInitiated(TextSearchInitiatedEventHandler value)
Parameters
remove_ShapeAnnotationAdded(ShapeAnnotationAddedEventHandler)
Declaration
public void remove_ShapeAnnotationAdded(ShapeAnnotationAddedEventHandler value)
Parameters
remove_ShapeAnnotationDeselected(ShapeAnnotationDeselectedEventHandler)
Declaration
public void remove_ShapeAnnotationDeselected(ShapeAnnotationDeselectedEventHandler value)
Parameters
remove_ShapeAnnotationEdited(ShapeAnnotationEditedEventHandler)
Declaration
public void remove_ShapeAnnotationEdited(ShapeAnnotationEditedEventHandler value)
Parameters
remove_ShapeAnnotationRemoved(ShapeAnnotationRemovedEventHandler)
Declaration
public void remove_ShapeAnnotationRemoved(ShapeAnnotationRemovedEventHandler value)
Parameters
remove_ShapeAnnotationSelected(ShapeAnnotationSelectedEventHandler)
Declaration
public void remove_ShapeAnnotationSelected(ShapeAnnotationSelectedEventHandler value)
Parameters
remove_ShapeAnnotationTapped(ShapeAnnotationTappedEventHandler)
Declaration
public void remove_ShapeAnnotationTapped(ShapeAnnotationTappedEventHandler value)
Parameters
remove_TextMarkupAdded(TextMarkupAddedEventHandler)
Declaration
public void remove_TextMarkupAdded(TextMarkupAddedEventHandler value)
Parameters
remove_TextMarkupDeselected(TextMarkupDeselectedEventHandler)
Declaration
public void remove_TextMarkupDeselected(TextMarkupDeselectedEventHandler value)
Parameters
remove_TextMarkupEdited(TextMarkupEditedEventHandler)
Declaration
public void remove_TextMarkupEdited(TextMarkupEditedEventHandler value)
Parameters
remove_TextMarkupLongPressed(TextMarkupLongPressedEventHandler)
Declaration
public void remove_TextMarkupLongPressed(TextMarkupLongPressedEventHandler value)
Parameters
remove_TextMarkupRemoved(TextMarkupRemovedEventHandler)
Declaration
public void remove_TextMarkupRemoved(TextMarkupRemovedEventHandler value)
Parameters
remove_TextMarkupSelected(TextMarkupSelectedEventHandler)
Declaration
public void remove_TextMarkupSelected(TextMarkupSelectedEventHandler value)
Parameters
remove_TextMarkupTapped(TextMarkupTappedEventHandler)
Declaration
public void remove_TextMarkupTapped(TextMarkupTappedEventHandler value)
Parameters
remove_TextMatchFound(TextMatchFoundEventHandler)
Declaration
public void remove_TextMatchFound(TextMatchFoundEventHandler value)
Parameters
remove_TextSelectionCompleted(TextSelectionEventHandler)
Declaration
public void remove_TextSelectionCompleted(TextSelectionEventHandler value)
Parameters
Declaration
public void remove_UndoPerformed(UndoEventHandler value)
Parameters
remove_UnhandledConditionOccurred(UnhandledConditionEventHandler)
Declaration
public void remove_UnhandledConditionOccurred(UnhandledConditionEventHandler value)
Parameters
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 and returns it as stream.
Declaration
public Stream SaveDocument()
Returns
Type |
Description |
System.IO.Stream |
Saved PDF document as stream.
|
SaveDocument(Boolean)
Saves the PDF document and returns it as stream.
Declaration
public Stream SaveDocument(bool flattenFormFields)
Parameters
Type |
Name |
Description |
System.Boolean |
flattenFormFields |
Value indicating whether the form fields in the PDF are to be flattened while saving. Default value is false.
|
Returns
Type |
Description |
System.IO.Stream |
Saved PDF document as stream.
|
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
SearchNext(String)
Finds the next occurrence of the text being searched.
Declaration
public void SearchNext(string targetText)
Parameters
Type |
Name |
Description |
System.String |
targetText |
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 targetText)
Parameters
Type |
Name |
Description |
System.String |
targetText |
The text to be searched.
|
SearchText(String)
Finds all occurrences of the given text in the PDF document.
Declaration
public void SearchText(string targetText)
Parameters
Type |
Name |
Description |
System.String |
targetText |
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 ink session undo operation.
Declaration
Unload()
Declaration
ZoomToRect(RectF)
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(RectF rectangle)
Parameters
Type |
Name |
Description |
Android.Graphics.RectF |
rectangle |
Specifies the region in client coordinates that is to be brought to view.
|
Remarks
Events
AnnotationMovedOrResized
Occurs when ink is moved or resized.
Declaration
public event AnnotationMovedOrResizedEventHandler AnnotationMovedOrResized
Event Type
BookmarkNavigationOccurred
Occurs when a bookmark is navigated to
Declaration
public event EventHandler<BookmarkNavigationOccurredEventArgs> BookmarkNavigationOccurred
Event Type
CanRedoInkModified
Occurs when can redo ink session property is modified
Declaration
public event CanRedoInkModifiedEventHandler CanRedoInkModified
Event Type
CanRedoModified
Occurs when can redo stack is modified
Declaration
public event CanRedoModifiedEventHandler CanRedoModified
Event Type
CanUndoInkModified
Occurs when can undo ink session property is modified
Declaration
public event CanUndoInkModifiedEventHandler CanUndoInkModified
Event Type
CanUndoModified
Occurs when can undo stack is modified
Declaration
public event CanUndoModifiedEventHandler CanUndoModified
Event Type
DocumentLoaded
Occurs when a PDF document is finished loading to SfPdfViewer.
Declaration
public event DocumentLoadedEventHandler DocumentLoaded
Event Type
DocumentSaveInitiated
Occurs when saved the document
Declaration
public event DocumentSaveInitiatedEventHandler DocumentSaveInitiated
Event Type
DoubleTapped
Occurs when double tapped.
Declaration
public event EventHandler<TouchInteractionEventArgs> DoubleTapped
Event Type
Occurs when text or signature form field is focused.
Declaration
public event EventHandler<FormFieldFocusedEventArgs> FormFieldFocused
Event Type
Occurs when text or signature form field is unfocused.
Declaration
public event EventHandler<FormFieldUnfocusedEventArgs> FormFieldUnfocused
Event Type
Occurs when the value of the form fields are changed.
Declaration
public event EventHandler<FormFieldValueChangedEventArgs> FormFieldValueChanged
Event Type
FreeTextAnnotationAdded
Occurs when free text annotation is added
Declaration
public event FreeTextAnnotationAddedEventHandler FreeTextAnnotationAdded
Event Type
FreeTextAnnotationDeselected
Occurs when free text annotation is deselected
Declaration
public event FreeTextAnnotationDeselectedEventHandler FreeTextAnnotationDeselected
Event Type
FreeTextAnnotationEdited
Occurs when free text annotation property is edited
Declaration
public event FreeTextAnnotationEditedEventHandler FreeTextAnnotationEdited
Event Type
FreeTextAnnotationLongPressed
Occurs when free text annotation is long pressed
Declaration
public event FreeTextAnnotationLongPressedEventHandler FreeTextAnnotationLongPressed
Event Type
FreeTextAnnotationMovedOrResized
Occurs when free text annotation is moved or resized
Declaration
public event FreeTextAnnotationMovedOrResizedEventHandler FreeTextAnnotationMovedOrResized
Event Type
FreeTextAnnotationRemoved
Occurs when free text annotation is Removed
Declaration
public event FreeTextAnnotationRemovedEventHandler FreeTextAnnotationRemoved
Event Type
FreeTextAnnotationSelected
Occurs when free text annotation is selected
Declaration
public event FreeTextAnnotationSelectedEventHandler FreeTextAnnotationSelected
Event Type
FreeTextAnnotationTapped
Occurs when free text annotation is tapped
Declaration
public event FreeTextAnnotationTappedEventHandler FreeTextAnnotationTapped
Event Type
FreeTextPopupAppearing
Occurs when free text Popup is appearing
Declaration
public event FreeTextPopupAppearingEventHandler FreeTextPopupAppearing
Event Type
FreeTextPopupDisappeared
Occurs when free text Popup is disappearing
Declaration
public event FreeTextPopupDisappearedEventHandler FreeTextPopupDisappeared
Event Type
HyperlinkClicked
Occurs when hyperlink click operation is performed.
Declaration
public event HyperlinkClickedEventHandler HyperlinkClicked
Event Type
InkAdded
Occurs when ink is added.
Declaration
public event InkAddedEventHandler InkAdded
Event Type
InkDeselected
Occurs when ink is deselected.
Declaration
public event InkDeselectedEventHandler InkDeselected
Event Type
InkEdited
Occurs when ink is edited.
Declaration
public event InkEditedEventHandler InkEdited
Event Type
InkRemoved
Occurs when ink is removed.
Declaration
public event InkRemovedEventHandler InkRemoved
Event Type
InkSelected
Occurs when ink is selected.
Declaration
public event InkSelectedEventHandler InkSelected
Event Type
InkTapped
Occurs when ink is tapped.
Declaration
public event InkTappedEventHandler InkTapped
Event Type
LongPressed
Occurs when long pressed.
Declaration
public event EventHandler<TouchInteractionEventArgs> LongPressed
Event Type
PageChanged
Occurs when the value of PageNumber property changes.
Declaration
public event PageChangedEventHandler PageChanged
Event Type
PageViewModeChanged
Declaration
public event EventHandler<PageViewModeChangedEventArgs> PageViewModeChanged
Event Type
PasswordErrorOccurred
Occurs when Password Error encountered.
Declaration
public event EventHandler<PasswordErrorOccurredEventArgs> PasswordErrorOccurred
Event Type
Occurs when password view cancel operation is performed.
Declaration
public event EventHandler PasswordViewCancelButtonClicked
Event Type
Occurs when redo action performed.
Declaration
public event RedoEventHandler RedoPerformed
Event Type
SearchCompleted
Occurs when a text search operation is completed.
Declaration
public event TextSearchCompletedEventHandler SearchCompleted
Event Type
SearchInitiated
Occurs when a text search operation is initiated.
Declaration
public event TextSearchInitiatedEventHandler SearchInitiated
Event Type
ShapeAnnotationAdded
Occurs when a shape annotation added.
Declaration
public event ShapeAnnotationAddedEventHandler ShapeAnnotationAdded
Event Type
ShapeAnnotationDeselected
Occurs when a shape annotation deselected.
Declaration
public event ShapeAnnotationDeselectedEventHandler ShapeAnnotationDeselected
Event Type
ShapeAnnotationEdited
Occurs when a shape annotation edited.
Declaration
public event ShapeAnnotationEditedEventHandler ShapeAnnotationEdited
Event Type
ShapeAnnotationRemoved
Occurs when a shape annotation removed.
Declaration
public event ShapeAnnotationRemovedEventHandler ShapeAnnotationRemoved
Event Type
ShapeAnnotationSelected
Occurs when a shape annotation selected.
Declaration
public event ShapeAnnotationSelectedEventHandler ShapeAnnotationSelected
Event Type
ShapeAnnotationTapped
Occurs when a shape annotation tapped.
Declaration
public event ShapeAnnotationTappedEventHandler ShapeAnnotationTapped
Event Type
StampAnnotationAdded
Occurs when a custom view added.
Declaration
public event EventHandler<StampAnnotationAddedEventArgs> StampAnnotationAdded
Event Type
StampAnnotationDeselected
Occurs when custom view is deselected.
Declaration
public event EventHandler<StampAnnotationDeselectedEventArgs> StampAnnotationDeselected
Event Type
StampAnnotationMovedOrResized
Occurs when a custom view moved or resized.
Declaration
public event EventHandler<StampAnnotationMovedOrResizedEventArgs> StampAnnotationMovedOrResized
Event Type
StampAnnotationRemoved
Occurs when a custom view removed.
Declaration
public event EventHandler<StampAnnotationRemovedEventArgs> StampAnnotationRemoved
Event Type
StampAnnotationSelected
Occurs when custom view is selected.
Declaration
public event EventHandler<StampAnnotationSelectedEventArgs> StampAnnotationSelected
Event Type
StampAnnotationTapped
Occurs when custom view is tapped.
Declaration
public event EventHandler<StampAnnotationTappedEventArgs> StampAnnotationTapped
Event Type
Tapped
Declaration
public event EventHandler<TouchInteractionEventArgs> Tapped
Event Type
TextMarkupAdded
Occurs when a text markup is added.
Declaration
public event TextMarkupAddedEventHandler TextMarkupAdded
Event Type
TextMarkupDeselected
Occurs when a text markup is deselected
Declaration
public event TextMarkupDeselectedEventHandler TextMarkupDeselected
Event Type
TextMarkupEdited
Occurs when a text markup is modified.
Declaration
public event TextMarkupEditedEventHandler TextMarkupEdited
Event Type
TextMarkupLongPressed
Occurs when a text markup is long pressed.
Declaration
public event TextMarkupLongPressedEventHandler TextMarkupLongPressed
Event Type
TextMarkupRemoved
Occurs when a text markup is removed
Declaration
public event TextMarkupRemovedEventHandler TextMarkupRemoved
Event Type
TextMarkupSelected
Occurs when a text markup is selected
Declaration
public event TextMarkupSelectedEventHandler TextMarkupSelected
Event Type
TextMarkupTapped
Occurs when a text markup is tapped
Declaration
public event TextMarkupTappedEventHandler TextMarkupTapped
Event Type
TextMatchFound
Occurs when a match for the searched text found.
Declaration
public event TextMatchFoundEventHandler TextMatchFound
Event Type
TextSelectionCompleted
Occurs when text selection is completed.
Declaration
public event TextSelectionEventHandler TextSelectionCompleted
Event Type
Occurs when undo action performed.
Declaration
public event UndoEventHandler UndoPerformed
Event Type
UnhandledConditionOccurred
Occurs when an unhandled condition occurs.
Declaration
public event UnhandledConditionEventHandler UnhandledConditionOccurred
Event Type
Implements
System.IDisposable
Android.Views.View.IOnTouchListener
Android.Runtime.IJavaObject
Java.Interop.IJavaPeerable