Show / Hide Table of Contents

Class Page

Inheritance
System.Object
Java.Lang.Object
Page
Implements
Android.Runtime.IJavaObject
Java.Interop.IJavaPeerable
System.IDisposable
Inherited Members
Java.Lang.Object.Java.Interop.IJavaPeerable.DisposeUnlessReferenced()
Java.Lang.Object.Java.Interop.IJavaPeerable.Disposed()
Java.Lang.Object.Java.Interop.IJavaPeerable.Finalized()
Java.Lang.Object.Java.Interop.IJavaPeerable.SetJniIdentityHashCode(System.Int32)
Java.Lang.Object.Java.Interop.IJavaPeerable.SetJniManagedPeerState(Java.Interop.JniManagedPeerStates)
Java.Lang.Object.Java.Interop.IJavaPeerable.SetPeerReference(Java.Interop.JniObjectReference)
Java.Lang.Object.Dispose()
Java.Lang.Object.Dispose(System.Boolean)
Java.Lang.Object.GetObject<T>(System.IntPtr, System.IntPtr, Android.Runtime.JniHandleOwnership)
Java.Lang.Object.GetObject<T>(System.IntPtr, Android.Runtime.JniHandleOwnership)
Java.Lang.Object.FromArray<T>(T[])
Java.Lang.Object.Clone()
Java.Lang.Object.Equals(Java.Lang.Object)
Java.Lang.Object.JavaFinalize()
Java.Lang.Object.GetHashCode()
Java.Lang.Object.Notify()
Java.Lang.Object.NotifyAll()
Java.Lang.Object.ToString()
Java.Lang.Object.Wait()
Java.Lang.Object.Wait(System.Int64)
Java.Lang.Object.Wait(System.Int64, System.Int32)
Java.Lang.Object.Java.Interop.IJavaPeerable.JniManagedPeerState
Java.Lang.Object.Class
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: pdftronprivate.PDF
Assembly: PDFNetAndroid.dll
Syntax
[Register("com/pdftron/pdf/Page", DoNotGenerateAcw = true)]
public class Page : Object, IJavaObject, IJavaPeerable, IDisposable

Constructors

Page()

Declaration
[Register(".ctor", "()V", "")]
public Page()

Page(IntPtr, JniHandleOwnership)

Declaration
protected Page(IntPtr javaReference, JniHandleOwnership transfer)
Parameters
Type Name Description
System.IntPtr javaReference
Android.Runtime.JniHandleOwnership transfer

Fields

E0

Declaration
[Register("e_0")]
public const int E0 = 0
Field Value
Type Description
System.Int32

E180

Declaration
[Register("e_180")]
public const int E180 = 2
Field Value
Type Description
System.Int32

E270

Declaration
[Register("e_270")]
public const int E270 = 3
Field Value
Type Description
System.Int32

E90

Declaration
[Register("e_90")]
public const int E90 = 1
Field Value
Type Description
System.Int32

EActionTriggerPageClose

Declaration
[Register("e_action_trigger_page_close")]
public const int EActionTriggerPageClose = 12
Field Value
Type Description
System.Int32

EActionTriggerPageOpen

Declaration
[Register("e_action_trigger_page_open")]
public const int EActionTriggerPageOpen = 11
Field Value
Type Description
System.Int32

EArt

Declaration
[Register("e_art")]
public const int EArt = 4
Field Value
Type Description
System.Int32

EBleed

Declaration
[Register("e_bleed")]
public const int EBleed = 2
Field Value
Type Description
System.Int32

ECrop

Declaration
[Register("e_crop")]
public const int ECrop = 1
Field Value
Type Description
System.Int32

EMedia

Declaration
[Register("e_media")]
public const int EMedia = 0
Field Value
Type Description
System.Int32

ETrim

Declaration
[Register("e_trim")]
public const int ETrim = 3
Field Value
Type Description
System.Int32

EUserCrop

Declaration
[Register("e_user_crop")]
public const int EUserCrop = 5
Field Value
Type Description
System.Int32

Properties

CropBox

Declaration
public virtual Rect CropBox
{
    [Register("getCropBox", "()Lcom/pdftron/pdf/Rect;", "GetGetCropBoxHandler")]
    get;
    [Register("setCropBox", "(Lcom/pdftron/pdf/Rect;)V", "GetSetCropBox_Lcom_pdftron_pdf_Rect_Handler")]
    set;
}
Property Value
Type Description
Rect

HasTransition

Declaration
public virtual bool HasTransition
{
    [Register("hasTransition", "()Z", "GetHasTransitionHandler")]
    get;
}
Property Value
Type Description
System.Boolean

Index

Declaration
public virtual int Index
{
    [Register("getIndex", "()I", "GetGetIndexHandler")]
    get;
}
Property Value
Type Description
System.Int32

IsValid

Declaration
public virtual bool IsValid
{
    [Register("isValid", "()Z", "GetIsValidHandler")]
    get;
}
Property Value
Type Description
System.Boolean

MediaBox

Declaration
public virtual Rect MediaBox
{
    [Register("getMediaBox", "()Lcom/pdftron/pdf/Rect;", "GetGetMediaBoxHandler")]
    get;
    [Register("setMediaBox", "(Lcom/pdftron/pdf/Rect;)V", "GetSetMediaBox_Lcom_pdftron_pdf_Rect_Handler")]
    set;
}
Property Value
Type Description
Rect

NumAnnots

Declaration
public virtual int NumAnnots
{
    [Register("getNumAnnots", "()I", "GetGetNumAnnotsHandler")]
    get;
}
Property Value
Type Description
System.Int32

PageHeight

Declaration
public virtual double PageHeight
{
    [Register("getPageHeight", "()D", "GetGetPageHeightHandler")]
    get;
}
Property Value
Type Description
System.Double

PageWidth

Declaration
public virtual double PageWidth
{
    [Register("getPageWidth", "()D", "GetGetPageWidthHandler")]
    get;
}
Property Value
Type Description
System.Double

Rotation

Declaration
public virtual int Rotation
{
    [Register("getRotation", "()I", "GetGetRotationHandler")]
    get;
    [Register("setRotation", "(I)V", "GetSetRotation_IHandler")]
    set;
}
Property Value
Type Description
System.Int32

UserUnitSize

Declaration
public virtual double UserUnitSize
{
    [Register("getUserUnitSize", "()D", "GetGetUserUnitSizeHandler")]
    get;
    [Register("setUserUnitSize", "(D)V", "GetSetUserUnitSize_DHandler")]
    set;
}
Property Value
Type Description
System.Double

VisibleContentBox

Declaration
public virtual Rect VisibleContentBox
{
    [Register("getVisibleContentBox", "()Lcom/pdftron/pdf/Rect;", "GetGetVisibleContentBoxHandler")]
    get;
}
Property Value
Type Description
Rect

Methods

__Create(Int64, Object)

Declaration
[Register("__Create", "(JLjava/lang/Object;)Lcom/pdftron/pdf/Page;", "")]
public static Page __Create(long p0, Object p1)
Parameters
Type Name Description
System.Int64 p0
Java.Lang.Object p1
Returns
Type Description
Page

__GetHandle()

Declaration
[Register("__GetHandle", "()J", "Get__GetHandleHandler")]
public virtual long __GetHandle()
Returns
Type Description
System.Int64

AddRotations(Int32, Int32)

Declaration
[Register("addRotations", "(II)I", "")]
public static int AddRotations(int p0, int p1)
Parameters
Type Name Description
System.Int32 p0
System.Int32 p1
Returns
Type Description
System.Int32

AnnotInsert(Int32, Annot)

Declaration
[Register("annotInsert", "(ILcom/pdftron/pdf/Annot;)V", "GetAnnotInsert_ILcom_pdftron_pdf_Annot_Handler")]
public virtual void AnnotInsert(int p0, Annot p1)
Parameters
Type Name Description
System.Int32 p0
Annot p1

AnnotPushBack(Annot)

Declaration
[Register("annotPushBack", "(Lcom/pdftron/pdf/Annot;)V", "GetAnnotPushBack_Lcom_pdftron_pdf_Annot_Handler")]
public virtual void AnnotPushBack(Annot p0)
Parameters
Type Name Description
Annot p0

AnnotPushFront(Annot)

Declaration
[Register("annotPushFront", "(Lcom/pdftron/pdf/Annot;)V", "GetAnnotPushFront_Lcom_pdftron_pdf_Annot_Handler")]
public virtual void AnnotPushFront(Annot p0)
Parameters
Type Name Description
Annot p0

AnnotRemove(Annot)

Declaration
[Register("annotRemove", "(Lcom/pdftron/pdf/Annot;)V", "GetAnnotRemove_Lcom_pdftron_pdf_Annot_Handler")]
public virtual void AnnotRemove(Annot p0)
Parameters
Type Name Description
Annot p0

AnnotRemove(Int32)

Declaration
[Register("annotRemove", "(I)V", "GetAnnotRemove_IHandler")]
public virtual void AnnotRemove(int p0)
Parameters
Type Name Description
System.Int32 p0

DegreeToRotation(Int32)

Declaration
[Register("degreeToRotation", "(I)I", "")]
public static int DegreeToRotation(int p0)
Parameters
Type Name Description
System.Int32 p0
Returns
Type Description
System.Int32

GetAnnot(Int32)

Declaration
[Register("getAnnot", "(I)Lcom/pdftron/pdf/Annot;", "GetGetAnnot_IHandler")]
public virtual Annot GetAnnot(int p0)
Parameters
Type Name Description
System.Int32 p0
Returns
Type Description
Annot

GetBox(Int32)

Declaration
[Register("getBox", "(I)Lcom/pdftron/pdf/Rect;", "GetGetBox_IHandler")]
public virtual Rect GetBox(int p0)
Parameters
Type Name Description
System.Int32 p0
Returns
Type Description
Rect

GetPageHeight(Int32)

Declaration
[Register("getPageHeight", "(I)D", "GetGetPageHeight_IHandler")]
public virtual double GetPageHeight(int p0)
Parameters
Type Name Description
System.Int32 p0
Returns
Type Description
System.Double

GetPageWidth(Int32)

Declaration
[Register("getPageWidth", "(I)D", "GetGetPageWidth_IHandler")]
public virtual double GetPageWidth(int p0)
Parameters
Type Name Description
System.Int32 p0
Returns
Type Description
System.Double

GetThumbInfo()

Declaration
[Register("getThumbInfo", "()[I", "GetGetThumbInfoHandler")]
public virtual int[] GetThumbInfo()
Returns
Type Description
System.Int32[]

RotationToDegree(Int32)

Declaration
[Register("rotationToDegree", "(I)I", "")]
public static int RotationToDegree(int p0)
Parameters
Type Name Description
System.Int32 p0
Returns
Type Description
System.Int32

Scale(Double)

Declaration
[Register("scale", "(D)V", "GetScale_DHandler")]
public virtual void Scale(double p0)
Parameters
Type Name Description
System.Double p0

SetBox(Int32, Rect)

Declaration
[Register("setBox", "(ILcom/pdftron/pdf/Rect;)V", "GetSetBox_ILcom_pdftron_pdf_Rect_Handler")]
public virtual void SetBox(int p0, Rect p1)
Parameters
Type Name Description
System.Int32 p0
Rect p1

SubtractRotations(Int32, Int32)

Declaration
[Register("subtractRotations", "(II)I", "")]
public static int SubtractRotations(int p0, int p1)
Parameters
Type Name Description
System.Int32 p0
System.Int32 p1
Returns
Type Description
System.Int32

Implements

Android.Runtime.IJavaObject
Java.Interop.IJavaPeerable
System.IDisposable
In This Article
Back to top Generated by DocFX