Class NativeReflowControl
Inheritance
System.Object
NativeReflowControl
Implements
Android.Runtime.IJavaObject
System.IDisposable
Java.Interop.IJavaPeerable
Assembly: PDFViewCtrlTools.dll
Syntax
public class NativeReflowControl : ViewPager, ReflowPagerAdapter.IReflowPagerAdapterCallback
Constructors
NativeReflowControl(Context)
Declaration
public NativeReflowControl(Context context)
Parameters
| Type |
Name |
Description |
| Android.Content.Context |
context |
|
NativeReflowControl(Context, IAttributeSet)
Declaration
public NativeReflowControl(Context context, IAttributeSet attrs)
Parameters
| Type |
Name |
Description |
| Android.Content.Context |
context |
|
| Android.Util.IAttributeSet |
attrs |
|
NativeReflowControl(IntPtr, JniHandleOwnership)
Declaration
protected NativeReflowControl(IntPtr javaReference, JniHandleOwnership transfer)
Parameters
| Type |
Name |
Description |
| System.IntPtr |
javaReference |
|
| Android.Runtime.JniHandleOwnership |
transfer |
|
Fields
FollowPdfviewctrl
Declaration
public const int FollowPdfviewctrl = 2
Field Value
| Type |
Description |
| System.Int32 |
|
Horizontal
Declaration
public const int Horizontal = 0
Field Value
| Type |
Description |
| System.Int32 |
|
Vertical
Declaration
public const int Vertical = 1
Field Value
| Type |
Description |
| System.Int32 |
|
Properties
CurrentPage
Declaration
public virtual int CurrentPage { get; set; }
Property Value
| Type |
Description |
| System.Int32 |
|
DoNotReflowTextOverImages
Declaration
public virtual bool DoNotReflowTextOverImages { get; set; }
Property Value
| Type |
Description |
| System.Boolean |
|
HideBackgroundImages
Declaration
public virtual bool HideBackgroundImages { get; set; }
Property Value
| Type |
Description |
| System.Boolean |
|
HideImagesUnderInvisibleText
Declaration
public virtual bool HideImagesUnderInvisibleText { get; set; }
Property Value
| Type |
Description |
| System.Boolean |
|
HideImagesUnderText
Declaration
public virtual bool HideImagesUnderText { get; set; }
Property Value
| Type |
Description |
| System.Boolean |
|
IsCustomColorMode
Declaration
public virtual bool IsCustomColorMode { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
IsDayMode
Declaration
public virtual bool IsDayMode { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
IsInternalLinkClicked
Declaration
public virtual bool IsInternalLinkClicked { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
IsNightMode
Declaration
public virtual bool IsNightMode { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
IsReady
Declaration
public virtual bool IsReady { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
JniPeerMembers
Declaration
public override JniPeerMembers JniPeerMembers { get; }
Property Value
| Type |
Description |
| Java.Interop.JniPeerMembers |
|
Orientation
Declaration
public virtual int Orientation { get; set; }
Property Value
| Type |
Description |
| System.Int32 |
|
PostProcessColor
Declaration
public NativeReflowControl.PostProcessColorHandler PostProcessColor { get; set; }
Property Value
RightToLeftDirection
Declaration
public virtual bool RightToLeftDirection { get; set; }
Property Value
| Type |
Description |
| System.Boolean |
|
TextSizeInPercent
Declaration
public virtual int TextSizeInPercent { get; set; }
Property Value
| Type |
Description |
| System.Int32 |
|
ThresholdClass
Declaration
protected override IntPtr ThresholdClass { get; }
Property Value
| Type |
Description |
| System.IntPtr |
|
ThresholdType
Declaration
protected override Type ThresholdType { get; }
Property Value
| Type |
Description |
| System.Type |
|
Methods
AddReflowLongPressListener(NativeReflowControl.IOnReflowLongPressListener)
Declaration
public virtual void AddReflowLongPressListener(NativeReflowControl.IOnReflowLongPressListener listener)
Parameters
AddReflowOnTapListener(NativeReflowControl.IOnReflowTapListener)
Declaration
public virtual void AddReflowOnTapListener(NativeReflowControl.IOnReflowTapListener listener)
Parameters
CleanUp()
Declaration
public virtual void CleanUp()
ClearAdapterCacheAndReset()
Declaration
public virtual void ClearAdapterCacheAndReset()
ClearReflowLongPressListeners()
Declaration
public virtual void ClearReflowLongPressListeners()
ClearReflowOnTapListeners()
Declaration
public virtual void ClearReflowOnTapListeners()
EnableTurnPageOnTap(Boolean)
Declaration
public virtual void EnableTurnPageOnTap(bool enabled)
Parameters
| Type |
Name |
Description |
| System.Boolean |
enabled |
|
NotifyPagesModified()
Declaration
public virtual void NotifyPagesModified()
OnReflowPagerLongPress(WebView, MotionEvent)
Declaration
public virtual void OnReflowPagerLongPress(WebView webView, MotionEvent e)
Parameters
| Type |
Name |
Description |
| Android.Webkit.WebView |
webView |
|
| Android.Views.MotionEvent |
e |
|
OnReflowPagerSingleTapUp(WebView, MotionEvent)
Declaration
public virtual void OnReflowPagerSingleTapUp(WebView webView, MotionEvent e)
Parameters
| Type |
Name |
Description |
| Android.Webkit.WebView |
webView |
|
| Android.Views.MotionEvent |
e |
|
RemoveReflowLongPressListener(NativeReflowControl.IOnReflowLongPressListener)
Declaration
public virtual void RemoveReflowLongPressListener(NativeReflowControl.IOnReflowLongPressListener listener)
Parameters
RemoveReflowOnTapListener(NativeReflowControl.IOnReflowTapListener)
Declaration
public virtual void RemoveReflowOnTapListener(NativeReflowControl.IOnReflowTapListener listener)
Parameters
Reset()
Declaration
public virtual void Reset()
ResetInternalLinkClicked()
Declaration
public virtual void ResetInternalLinkClicked()
ScrollPageBy(Int32, Int32)
Declaration
public virtual void ScrollPageBy(int x, int y)
Parameters
| Type |
Name |
Description |
| System.Int32 |
x |
|
| System.Int32 |
y |
|
SetAnnotStyleProperties(IDictionary<Integer, AnnotStyleProperty>)
Declaration
public virtual void SetAnnotStyleProperties(IDictionary<Integer, AnnotStyleProperty> annotStyleProperties)
Parameters
| Type |
Name |
Description |
| System.Collections.Generic.IDictionary<Java.Lang.Integer, AnnotStyleProperty> |
annotStyleProperties |
|
SetCustomColorMode(Int32)
Declaration
public virtual void SetCustomColorMode(int backgroundColorMode)
Parameters
| Type |
Name |
Description |
| System.Int32 |
backgroundColorMode |
|
SetDayMode()
Declaration
public virtual void SetDayMode()
SetEditingEnabled(Boolean)
Declaration
public virtual void SetEditingEnabled(bool editingEnabled)
Parameters
| Type |
Name |
Description |
| System.Boolean |
editingEnabled |
|
SetImageInReflowEnabled(Boolean)
Declaration
public virtual void SetImageInReflowEnabled(bool imageInReflowEnabled)
Parameters
| Type |
Name |
Description |
| System.Boolean |
imageInReflowEnabled |
|
SetNightMode()
Declaration
public virtual void SetNightMode()
SetOnPostProcessColorListener(NativeReflowControl.IOnPostProcessColorListener)
Declaration
public virtual void SetOnPostProcessColorListener(NativeReflowControl.IOnPostProcessColorListener listener)
Parameters
SetReflowUrlLoadedListener(NativeReflowControl.IReflowUrlLoadedListener)
Declaration
public virtual void SetReflowUrlLoadedListener(NativeReflowControl.IReflowUrlLoadedListener listener)
Parameters
Declaration
public virtual void SetTextSelectionMenuEnabled(bool textSelectionMenuEnabled)
Parameters
| Type |
Name |
Description |
| System.Boolean |
textSelectionMenuEnabled |
|
Setup(PDFDoc)
Declaration
public virtual void Setup(PDFDoc pdfDoc)
Parameters
| Type |
Name |
Description |
| pdftronprivate.PDF.PDFDoc |
pdfDoc |
|
Setup(PDFDoc, NativeReflowControl.IOnPostProcessColorListener)
Declaration
public virtual void Setup(PDFDoc pdfDoc, NativeReflowControl.IOnPostProcessColorListener listener)
Parameters
Setup(PDFDoc, ToolManager, NativeReflowControl.IOnPostProcessColorListener)
Declaration
public virtual void Setup(PDFDoc pdfDoc, ToolManager toolManager, NativeReflowControl.IOnPostProcessColorListener listener)
Parameters
UpdateTextSize()
Declaration
public virtual void UpdateTextSize()
ZoomIn()
Declaration
public virtual void ZoomIn()
ZoomOut()
Declaration
public virtual void ZoomOut()
Events
ReflowExternalUrlLoaded
Declaration
public event EventHandler<NativeReflowControl.ReflowExternalUrlLoadedEventArgs> ReflowExternalUrlLoaded
Event Type
ReflowInternalUrlLoaded
Declaration
public event EventHandler<NativeReflowControl.ReflowInternalUrlLoadedEventArgs> ReflowInternalUrlLoaded
Event Type
ReflowLongPress
Declaration
public event EventHandler<NativeReflowControl.ReflowLongPressEventArgs> ReflowLongPress
Event Type
ReflowOnTap
Declaration
public event EventHandler<NativeReflowControl.ReflowTapEventArgs> ReflowOnTap
Event Type
Implements
Android.Runtime.IJavaObject
System.IDisposable
Java.Interop.IJavaPeerable