Class PdfViewCtrlTabsManager
Inheritance
System.Object
PdfViewCtrlTabsManager
Assembly: PDFViewCtrlTools.dll
public class PdfViewCtrlTabsManager : Object
Constructors
Declaration
protected PdfViewCtrlTabsManager(IntPtr javaReference, JniHandleOwnership transfer)
Parameters
Type |
Name |
Description |
System.IntPtr |
javaReference |
|
Android.Runtime.JniHandleOwnership |
transfer |
|
Fields
Declaration
public const int MaxNumTabsPhone = 3
Field Value
Type |
Description |
System.Int32 |
|
Declaration
public const int MaxNumTabsTablet = 5
Field Value
Type |
Description |
System.Int32 |
|
Properties
Declaration
public static PdfViewCtrlTabsManager Instance { get; }
Property Value
Declaration
public override JniPeerMembers JniPeerMembers { get; }
Property Value
Type |
Description |
Java.Interop.JniPeerMembers |
|
Declaration
protected override IntPtr ThresholdClass { get; }
Property Value
Type |
Description |
System.IntPtr |
|
Declaration
protected override Type ThresholdType { get; }
Property Value
Type |
Description |
System.Type |
|
Methods
AddDocument(Context, String)
Declaration
public virtual void AddDocument(Context context, string filepath)
Parameters
Type |
Name |
Description |
Android.Content.Context |
context |
|
System.String |
filepath |
|
AddPdfViewCtrlTabInfo(Context, String, PdfViewCtrlTabInfo)
Declaration
public virtual void AddPdfViewCtrlTabInfo(Context context, string filepath, PdfViewCtrlTabInfo info)
Parameters
Type |
Name |
Description |
Android.Content.Context |
context |
|
System.String |
filepath |
|
PdfViewCtrlTabInfo |
info |
|
Declaration
public virtual void Cleanup()
ClearAllPdfViewCtrlTabInfo(Context)
Declaration
public virtual void ClearAllPdfViewCtrlTabInfo(Context context)
Parameters
Type |
Name |
Description |
Android.Content.Context |
context |
|
GetDocuments(Context)
Declaration
public virtual IList<string> GetDocuments(Context context)
Parameters
Type |
Name |
Description |
Android.Content.Context |
context |
|
Returns
Type |
Description |
System.Collections.Generic.IList<System.String> |
|
GetLatestViewedTabTag(Context)
Declaration
public virtual string GetLatestViewedTabTag(Context context)
Parameters
Type |
Name |
Description |
Android.Content.Context |
context |
|
Returns
Type |
Description |
System.String |
|
Declaration
public virtual string GetNewPath(string filepath)
Parameters
Type |
Name |
Description |
System.String |
filepath |
|
Returns
Type |
Description |
System.String |
|
GetPdfFViewCtrlTabInfo(Context, String)
Declaration
public virtual PdfViewCtrlTabInfo GetPdfFViewCtrlTabInfo(Context context, string filepath)
Parameters
Type |
Name |
Description |
Android.Content.Context |
context |
|
System.String |
filepath |
|
Returns
RemoveDocument(Context, String)
Declaration
public virtual void RemoveDocument(Context context, string filepath)
Parameters
Type |
Name |
Description |
Android.Content.Context |
context |
|
System.String |
filepath |
|
RemoveOldestViewedTab(Context)
Declaration
public virtual string RemoveOldestViewedTab(Context context)
Parameters
Type |
Name |
Description |
Android.Content.Context |
context |
|
Returns
Type |
Description |
System.String |
|
RemovePdfViewCtrlTabInfo(Context, String)
Declaration
public virtual void RemovePdfViewCtrlTabInfo(Context context, string filepath)
Parameters
Type |
Name |
Description |
Android.Content.Context |
context |
|
System.String |
filepath |
|
UpdateDocumentOrder(Context, IList<String>)
Declaration
public virtual void UpdateDocumentOrder(Context context, IList<string> fileTabs)
Parameters
Type |
Name |
Description |
Android.Content.Context |
context |
|
System.Collections.Generic.IList<System.String> |
fileTabs |
|
UpdateLastViewedTabTimestamp(Context, String)
Declaration
public virtual void UpdateLastViewedTabTimestamp(Context context, string filepath)
Parameters
Type |
Name |
Description |
Android.Content.Context |
context |
|
System.String |
filepath |
|
UpdatePdfViewCtrlTabInfo(Context, String, String, String)
Declaration
public virtual void UpdatePdfViewCtrlTabInfo(Context context, string oldFilepath, string newFilepath, string newFilename)
Parameters
Type |
Name |
Description |
Android.Content.Context |
context |
|
System.String |
oldFilepath |
|
System.String |
newFilepath |
|
System.String |
newFilename |
|
UpdateViewModeForTab(Context, String, PDFViewCtrl.PagePresentationModes)
Declaration
public virtual void UpdateViewModeForTab(Context context, string filepath, PDFViewCtrl.PagePresentationModes mode)
Parameters
Type |
Name |
Description |
Android.Content.Context |
context |
|
System.String |
filepath |
|
pdftronprivate.PDF.PDFViewCtrl.PagePresentationModes |
mode |
|