Dil

PdfDocument.PageInfo.Builder.SetContentRect(Rect) Method

Definition

Sets the content rectangle in PostScript point (1/72th of an inch).

[Android.Runtime.Register("setContentRect", "(Landroid/graphics/Rect;)Landroid/graphics/pdf/PdfDocument$PageInfo$Builder;", "")]
public Android.Graphics.Pdf.PdfDocument.PageInfo.Builder? SetContentRect(Android.Graphics.Rect? contentRect);
[<Android.Runtime.Register("setContentRect", "(Landroid/graphics/Rect;)Landroid/graphics/pdf/PdfDocument$PageInfo$Builder;", "")>]
member this.SetContentRect : Android.Graphics.Rect -> Android.Graphics.Pdf.PdfDocument.PageInfo.Builder

Parameters

contentRect
Rect

The content rectangle. Must fit in the page.

Returns

Attributes

Remarks

Sets the content rectangle in PostScript point (1/72th of an inch). This is the area that contains the page content and is relative to the page top left.

Android reference for android.graphics.pdf.PdfDocument.PageInfo.Builder.setContentRect.

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.

Applies to