Android Guides | Samples

Android.Print.PrintAttributes Class

This class represents the attributes of a print job.

See Also: PrintAttributes

Syntax

[Android.Runtime.Register("android/print/PrintAttributes", DoNotGenerateAcw=true)]
public sealed class PrintAttributes : Object, IParcelable, IDisposable

Remarks

This class represents the attributes of a print job. These attributes describe how the printed content should be laid out. For example, the print attributes may state that the content should be laid out on a letter size with 300 DPI (dots per inch) resolution, have a margin of 10 mills (thousand of an inch) on all sides, and be black and white.

[Android Documentation]

Requirements

Namespace: Android.Print
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0

The members of Android.Print.PrintAttributes are listed below.

See Also: Object

Public Fields

const
ColorModeColorPrintColorMode (2). Color mode: Color color scheme, for example many colors are used.
const
ColorModeMonochromePrintColorMode (1). Color mode: Monochrome color scheme, for example one color is used.

Public Properties

[read-only]
ColorModePrintColorMode. Gets the color mode.
[read-only]
static
CreatorIParcelableCreator.
[read-only]
MinMarginsPrintAttributes+Margins. Gets the minimal margins.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

DescribeContents() : Int32
Describe the kinds of special objects contained in this Parcelable's marshalled representation.
GetMediaSize() : PrintAttributes+MediaSize
Gets the media size.
GetResolution() : PrintAttributes+Resolution
Gets the resolution.
WriteToParcel(Parcel, ParcelableWriteFlags)
Flatten this object in to a Parcel.