PrintAttributes.MediaSize Class

Definition

This class specifies a supported media size.

[Android.Runtime.Register("android/print/PrintAttributes$MediaSize", DoNotGenerateAcw=true)]
public sealed class PrintAttributes.MediaSize : Java.Lang.Object
[<Android.Runtime.Register("android/print/PrintAttributes$MediaSize", DoNotGenerateAcw=true)>]
type PrintAttributes.MediaSize = class
    inherit Object
Inheritance
PrintAttributes.MediaSize
Attributes

Remarks

This class specifies a supported media size. Media size is the dimension of the media on which the content is printed. For example, the #NA_LETTER media size designates a page with size 8.5" x 11".

Java documentation for android.print.PrintAttributes.MediaSize.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Constructors

PrintAttributes.MediaSize(String, String, Int32, Int32)

Creates a new instance.

Properties

AnsiC
AnsiD
AnsiE
AnsiF
Class

Returns the runtime class of this Object.

(Inherited from Object)
Handle

The handle to the underlying Android instance.

(Inherited from Object)
HeightMils

Gets the media height in mils (thousandths of an inch).

Id

Gets the unique media size id.

IsoA0
IsoA1
IsoA10
IsoA2
IsoA3
IsoA4
IsoA5
IsoA6
IsoA7
IsoA8
IsoA9
IsoB0
IsoB1
IsoB10
IsoB2
IsoB3
IsoB4
IsoB5
IsoB6
IsoB7
IsoB8
IsoB9
IsoC0
IsoC1
IsoC10
IsoC2
IsoC3
IsoC4
IsoC5
IsoC6
IsoC7
IsoC8
IsoC9
IsPortrait

Gets whether this media size is in portrait which is the height is greater or equal to the width.

JisB0
JisB1
JisB10
JisB2
JisB3
JisB4
JisB5
JisB6
JisB7
JisB8
JisB9
JisExec
JniIdentityHashCode (Inherited from Object)
JniPeerMembers
JpnChou2
JpnChou3
JpnChou4
JpnHagaki
JpnKahu
JpnKaku2
JpnOePhotoL
JpnOufuku
JpnYou4
NaArchA
NaArchB
NaArchC
NaArchD
NaArchE
NaArchE1
NaFoolscap
NaGovtLetter
NaIndex3x5
NaIndex4x6
NaIndex5x8
NaJuniorLegal
NaLedger
NaLegal
NaLetter
NaMonarch
NaQuarto
NaSuperB
NaTabloid
OmDaiPaKai
OmJuuroKuKai
OmPaKai
PeerReference (Inherited from Object)
Prc1
Prc10
Prc16k
Prc2
Prc3
Prc4
Prc5
Prc6
Prc7
Prc8
Prc9
Roc16k
Roc8k
ThresholdClass

This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

(Inherited from Object)
ThresholdType

This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

(Inherited from Object)
UnknownLandscape
UnknownPortrait
WidthMils

Gets the media width in mils (thousandths of an inch).

Methods

AsLandscape()
AsPortrait()
Clone()

Creates and returns a copy of this object.

(Inherited from Object)
Dispose() (Inherited from Object)
Dispose(Boolean) (Inherited from Object)
Equals(Object)

Indicates whether some other object is "equal to" this one.

(Inherited from Object)
GetHashCode()

Returns a hash code value for the object.

(Inherited from Object)
GetLabel(PackageManager)

Gets the human readable media size label.

JavaFinalize()

Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.

(Inherited from Object)
Notify()

Wakes up a single thread that is waiting on this object's monitor.

(Inherited from Object)
NotifyAll()

Wakes up all threads that are waiting on this object's monitor.

(Inherited from Object)
SetHandle(IntPtr, JniHandleOwnership)

Sets the Handle property.

(Inherited from Object)
ToArray<T>() (Inherited from Object)
ToString()

Returns a string representation of the object.

(Inherited from Object)
UnregisterFromRuntime() (Inherited from Object)
Wait()

Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>.

(Inherited from Object)
Wait(Int64)

Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>, or until a certain amount of real time has elapsed.

(Inherited from Object)
Wait(Int64, Int32)

Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>, or until a certain amount of real time has elapsed.

(Inherited from Object)

Explicit Interface Implementations

IJavaPeerable.Disposed() (Inherited from Object)
IJavaPeerable.DisposeUnlessReferenced() (Inherited from Object)
IJavaPeerable.Finalized() (Inherited from Object)
IJavaPeerable.JniManagedPeerState (Inherited from Object)
IJavaPeerable.SetJniIdentityHashCode(Int32) (Inherited from Object)
IJavaPeerable.SetJniManagedPeerState(JniManagedPeerStates) (Inherited from Object)
IJavaPeerable.SetPeerReference(JniObjectReference) (Inherited from Object)

Extension Methods

JavaCast<TResult>(IJavaObject)

Performs an Android runtime-checked type conversion.

JavaCast<TResult>(IJavaObject)
GetJniTypeName(IJavaPeerable)

Applies to