iOS Guides | Samples

MonoTouch.UIKit.UIPrintPageRenderer Class

Draws pages for printing.

See Also: UIPrintPageRenderer


[MonoTouch.Foundation.Register("UIPrintPageRenderer", true)]
[MonoTouch.ObjCRuntime.Introduced(MonoTouch.ObjCRuntime.PlatformName.iOS, 4, 2, MonoTouch.ObjCRuntime.PlatformArchitecture.None, null)]
[MonoTouch.ObjCRuntime.Unavailable(MonoTouch.ObjCRuntime.PlatformName.TvOS, MonoTouch.ObjCRuntime.PlatformArchitecture.All, null)]
public class UIPrintPageRenderer : NSObject

Related content


Namespace: MonoTouch.UIKit
Assembly: monotouch (in monotouch.dll)
Assembly Versions:

The members of MonoTouch.UIKit.UIPrintPageRenderer are listed below.

See Also: NSObject

Public Constructors

Default constructor that initializes a new instance of this class with no parameters.
A constructor that initializes the object from the data stored in the unarchiver object.
Constructor to call on derived classes to skip initialization and merely allocate the object.
A constructor used when creating managed representations of unmanaged objects; Called by the runtime.

Public Properties

ClassHandleIntPtr. The handle for this class.
FooterHeightSingle. The height of the footer for the specified page.
HeaderHeightSingle. The height of the header for the specified page.
NumberOfPagesInt32. The number of pages to render.
PaperRectRectangleF. Represents the paper size for the print job.
PrintableRectRectangleF. The area in which printing can occur. Read-only.
PrintFormattersUIPrintFormatter[]. The set of formatters for the renderer.

Public Methods

AddPrintFormatter(UIPrintFormatter, Int32)
Adds a UIPrintFormatter to those associated with this UIPrintPageRenderer.
DrawContentForPage(Int32, RectangleF)
Renders the page in the specified contentRect.
DrawFooterForPage(Int32, RectangleF)
Draws the footer of the page.
DrawHeaderForPage(Int32, RectangleF)
Draws the header of the page.
DrawPage(Int32, RectangleF)
Draws the entire page.
DrawPrintFormatterForPage(UIPrintFormatter, Int32)
Called once for each formatter assigned to the page. When overridden, can add custom drawing to the formatters' drawing.
Called prior to printing.
PrintFormattersForPage(Int32) : UIPrintFormatter[]
The set of formatters for the specified page.