Android.Print.PrintDocumentAdapter Members

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

See Also: Inherited members from Java.Lang.Object

Public Constructors

Protected Constructors

A constructor used when creating managed representations of JNI objects; called by the runtime.

Public Fields

const
ExtraPrintPreviewstring. Extra: mapped to a boolean value that is true if the current layout is for a print preview, false otherwise.

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

OnFinish()
Called when printing finishes.
abstract
OnLayout(PrintAttributes, PrintAttributes, Android.OS.CancellationSignal, PrintDocumentAdapter.LayoutResultCallback, Android.OS.Bundle)
Called when the print attributes (page size, density, etc) changed giving you a chance to layout the content such that it matches the new constraints.
OnStart()
Called when printing starts.
abstract
OnWrite(PageRange[], Android.OS.ParcelFileDescriptor, Android.OS.CancellationSignal, PrintDocumentAdapter.WriteResultCallback)
Called when specific pages of the content should be written in the form of a PDF file to the given file descriptor.