Class NativeCustomRelativeLayout
Inheritance
System.Object
NativeCustomRelativeLayout
Implements
pdftronprivate.PDF.PDFViewCtrl.IOnCanvasSizeChangeListener
Android.Runtime.IJavaObject
System.IDisposable
Java.Interop.IJavaPeerable
pdftronprivate.PDF.PDFViewCtrl.IPageSlidingListener
Assembly: PDFViewCtrlTools.dll
public class NativeCustomRelativeLayout : RelativeLayout
Constructors
NativeCustomRelativeLayout(Context)
Declaration
public NativeCustomRelativeLayout(Context context)
Parameters
Type |
Name |
Description |
Android.Content.Context |
context |
|
NativeCustomRelativeLayout(Context, IAttributeSet)
Declaration
public NativeCustomRelativeLayout(Context context, IAttributeSet attrs)
Parameters
Type |
Name |
Description |
Android.Content.Context |
context |
|
Android.Util.IAttributeSet |
attrs |
|
NativeCustomRelativeLayout(Context, IAttributeSet, Int32)
Declaration
public NativeCustomRelativeLayout(Context context, IAttributeSet attrs, int defStyleAttr)
Parameters
Type |
Name |
Description |
Android.Content.Context |
context |
|
Android.Util.IAttributeSet |
attrs |
|
System.Int32 |
defStyleAttr |
|
NativeCustomRelativeLayout(Context, IAttributeSet, Int32, Int32)
Declaration
public NativeCustomRelativeLayout(Context context, IAttributeSet attrs, int defStyleAttr, int defStyleRes)
Parameters
Type |
Name |
Description |
Android.Content.Context |
context |
|
Android.Util.IAttributeSet |
attrs |
|
System.Int32 |
defStyleAttr |
|
System.Int32 |
defStyleRes |
|
NativeCustomRelativeLayout(Context, PDFViewCtrl, Double, Double, Int32)
Declaration
public NativeCustomRelativeLayout(Context context, PDFViewCtrl parent, double x, double y, int page_num)
Parameters
Type |
Name |
Description |
Android.Content.Context |
context |
|
pdftronprivate.PDF.PDFViewCtrl |
parent |
|
System.Double |
x |
|
System.Double |
y |
|
System.Int32 |
page_num |
|
Declaration
protected NativeCustomRelativeLayout(IntPtr javaReference, JniHandleOwnership transfer)
Parameters
Type |
Name |
Description |
System.IntPtr |
javaReference |
|
Android.Runtime.JniHandleOwnership |
transfer |
|
Properties
Declaration
public override JniPeerMembers JniPeerMembers { get; }
Property Value
Type |
Description |
Java.Interop.JniPeerMembers |
|
MPageNum
Declaration
protected int MPageNum { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
MPagePosBottom
Declaration
protected double MPagePosBottom { get; set; }
Property Value
Type |
Description |
System.Double |
|
MPagePosLeft
Declaration
protected double MPagePosLeft { get; set; }
Property Value
Type |
Description |
System.Double |
|
MPagePosRight
Declaration
protected double MPagePosRight { get; set; }
Property Value
Type |
Description |
System.Double |
|
MPagePosTop
Declaration
protected double MPagePosTop { get; set; }
Property Value
Type |
Description |
System.Double |
|
Declaration
protected PDFViewCtrl MParentView { get; set; }
Property Value
Type |
Description |
pdftronprivate.PDF.PDFViewCtrl |
|
Declaration
protected IList<double> MScreenPt1 { get; set; }
Property Value
Type |
Description |
System.Collections.Generic.IList<System.Double> |
|
Declaration
protected IList<double> MScreenPt2 { get; set; }
Property Value
Type |
Description |
System.Collections.Generic.IList<System.Double> |
|
Declaration
protected double MScreenX1Save { get; set; }
Property Value
Type |
Description |
System.Double |
|
Declaration
protected double MScreenX2Save { get; set; }
Property Value
Type |
Description |
System.Double |
|
Declaration
protected double MScreenY1Save { get; set; }
Property Value
Type |
Description |
System.Double |
|
Declaration
protected double MScreenY2Save { get; set; }
Property Value
Type |
Description |
System.Double |
|
Declaration
protected int MScrollOffsetX { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
Declaration
protected int MScrollOffsetY { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
Declaration
protected bool MZoomWithParent { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
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
Declaration
public virtual void OnCanvasSizeChanged()
Declaration
public virtual void OnScrollOffsetChanged(int x, int y)
Parameters
Type |
Name |
Description |
System.Int32 |
x |
|
System.Int32 |
y |
|
Declaration
public virtual void SetAnnot(PDFViewCtrl pdfViewCtrl, Annot annot, int annotPageNum)
Parameters
Type |
Name |
Description |
pdftronprivate.PDF.PDFViewCtrl |
pdfViewCtrl |
|
pdftronprivate.PDF.Annot |
annot |
|
System.Int32 |
annotPageNum |
|
SetPagePosition(Double, Double, Int32)
Declaration
public virtual void SetPagePosition(double x, double y, int pageNum)
Parameters
Type |
Name |
Description |
System.Double |
x |
|
System.Double |
y |
|
System.Int32 |
pageNum |
|
Declaration
public virtual void SetRect(PDFViewCtrl pdfViewCtrl, Rect rect, int pageNum)
Parameters
Type |
Name |
Description |
pdftronprivate.PDF.PDFViewCtrl |
pdfViewCtrl |
|
pdftronprivate.PDF.Rect |
rect |
|
System.Int32 |
pageNum |
|
Declaration
public virtual void SetScreenPosition(double left, double top, int pageNum)
Parameters
Type |
Name |
Description |
System.Double |
left |
|
System.Double |
top |
|
System.Int32 |
pageNum |
|
Declaration
public virtual void SetScreenRect(double left, double top, double right, double bottom, int pageNum)
Parameters
Type |
Name |
Description |
System.Double |
left |
|
System.Double |
top |
|
System.Double |
right |
|
System.Double |
bottom |
|
System.Int32 |
pageNum |
|
Declaration
public virtual void SetZoomWithParent(bool zoomWithParent)
Parameters
Type |
Name |
Description |
System.Boolean |
zoomWithParent |
|
Implements
pdftronprivate.PDF.PDFViewCtrl.IOnCanvasSizeChangeListener
Android.Runtime.IJavaObject
System.IDisposable
Java.Interop.IJavaPeerable
pdftronprivate.PDF.PDFViewCtrl.IPageSlidingListener