Class TextHighlighter
Inheritance
System.Object
TextHighlighter
Implements
Android.Runtime.IJavaObject
System.IDisposable
Java.Interop.IJavaPeerable
Assembly: PDFViewCtrlTools.dll
Syntax
public class TextHighlighter : Tool, ToolManager.ITool
Constructors
TextHighlighter(PDFViewCtrl)
Declaration
public TextHighlighter(PDFViewCtrl pdfViewCtrl)
Parameters
Type |
Name |
Description |
pdftronprivate.PDF.PDFViewCtrl |
pdfViewCtrl |
|
TextHighlighter(IntPtr, JniHandleOwnership)
Declaration
protected TextHighlighter(IntPtr javaReference, JniHandleOwnership transfer)
Parameters
Type |
Name |
Description |
System.IntPtr |
javaReference |
|
Android.Runtime.JniHandleOwnership |
transfer |
|
Properties
CreateAnnotType
Declaration
public override int CreateAnnotType { get; }
Property Value
Type |
Description |
System.Int32 |
|
Overrides
IsRunning
Declaration
public virtual bool IsRunning { get; }
Property Value
Type |
Description |
System.Boolean |
|
JniPeerMembers
Declaration
public override JniPeerMembers JniPeerMembers { get; }
Property Value
Type |
Description |
Java.Interop.JniPeerMembers |
|
Overrides
MaxTextureSize
Declaration
protected static int MaxTextureSize { get; }
Property Value
Type |
Description |
System.Int32 |
|
SearchPattern
Declaration
public virtual string SearchPattern { get; }
Property Value
Type |
Description |
System.String |
|
ThresholdClass
Declaration
protected override IntPtr ThresholdClass { get; }
Property Value
Type |
Description |
System.IntPtr |
|
Overrides
ThresholdType
Declaration
protected override Type ThresholdType { get; }
Property Value
Type |
Description |
System.Type |
|
Overrides
ToolMode
Declaration
public override ToolManager.IToolModeBase ToolMode { get; }
Property Value
Overrides
Methods
Cancel()
Declaration
public virtual void Cancel()
Clear()
Declaration
public virtual void Clear()
HighlightPage(Int32)
Declaration
protected virtual void HighlightPage(int pageNum)
Parameters
Type |
Name |
Description |
System.Int32 |
pageNum |
|
HighlightSelection()
Declaration
public virtual void HighlightSelection()
OnHighlightsTaskCancelled(Int32, Int32)
Declaration
public virtual void OnHighlightsTaskCancelled(int pageStart, int pageEnd)
Parameters
Type |
Name |
Description |
System.Int32 |
pageStart |
|
System.Int32 |
pageEnd |
|
OnHighlightsTaskFinished(Highlights[], Int32, Int32)
Declaration
public virtual void OnHighlightsTaskFinished(Highlights[] highlights, int pageStart, int pageEnd)
Parameters
Type |
Name |
Description |
pdftronprivate.PDF.Highlights[] |
highlights |
|
System.Int32 |
pageStart |
|
System.Int32 |
pageEnd |
|
ResetClipPaths()
Declaration
protected virtual void ResetClipPaths()
ResetClipPaths(Boolean)
Declaration
protected virtual void ResetClipPaths(bool all)
Parameters
Type |
Name |
Description |
System.Boolean |
all |
|
ResetHighlightPaths(Boolean)
Declaration
protected virtual void ResetHighlightPaths(bool all)
Parameters
Type |
Name |
Description |
System.Boolean |
all |
|
ResetSearchPaths(Boolean)
Declaration
protected virtual void ResetSearchPaths(bool all)
Parameters
Type |
Name |
Description |
System.Boolean |
all |
|
SetHighlightColors(Int32, Int32, Int32, Int32)
Declaration
public virtual void SetHighlightColors(int highlightColorInDayMode, int highlightColorInNightMode, int selColorInDayMode, int selColorInNightMode)
Parameters
Type |
Name |
Description |
System.Int32 |
highlightColorInDayMode |
|
System.Int32 |
highlightColorInNightMode |
|
System.Int32 |
selColorInDayMode |
|
System.Int32 |
selColorInNightMode |
|
Start(String)
Declaration
public virtual void Start(string searchPattern)
Parameters
Type |
Name |
Description |
System.String |
searchPattern |
|
Start(String, Boolean, Boolean, Boolean)
Declaration
public virtual void Start(string searchPattern, bool matchCase, bool matchWholeWords, bool useRegularExpressions)
Parameters
Type |
Name |
Description |
System.String |
searchPattern |
|
System.Boolean |
matchCase |
|
System.Boolean |
matchWholeWords |
|
System.Boolean |
useRegularExpressions |
|
Stop()
Declaration
public virtual void Stop()
Update()
Declaration
public virtual void Update()
UpdateSearchSelection()
Declaration
protected virtual void UpdateSearchSelection()
UpdateVisibleHighlights()
Declaration
protected virtual void UpdateVisibleHighlights()
Implements
Android.Runtime.IJavaObject
System.IDisposable
Java.Interop.IJavaPeerable