Added in API level 19
    Builder
class Builder
| kotlin.Any | |
| ↳ | android.graphics.pdf.PdfDocument.PageInfo.Builder | 
Builder for creating a PageInfo.
Summary
| Public constructors | |
|---|---|
| 
            
             Creates a new builder with the mandatory page info attributes.  | 
        |
| Public methods | |
|---|---|
| PdfDocument.PageInfo! | 
            create()Creates a new   | 
        
| PdfDocument.PageInfo.Builder! | 
            setContentRect(contentRect: Rect!)Sets the content rectangle in PostScript point (1/72th of an inch).  | 
        
Public constructors
Builder
Added in API level 19
      Builder(
pageWidth: Int,
pageHeight: Int,
pageNumber: Int)
Creates a new builder with the mandatory page info attributes.
| Parameters | |
|---|---|
pageWidth | 
            Int: The page width in PostScript (1/72th of an inch). | 
pageHeight | 
            Int: The page height in PostScript (1/72th of an inch). | 
pageNumber | 
            Int: The page number. | 
Public methods
create
Added in API level 19
      fun create(): PdfDocument.PageInfo!
Creates a new PageInfo.
| Return | |
|---|---|
PdfDocument.PageInfo! | 
            The new instance. | 
setContentRect
Added in API level 19
      fun setContentRect(contentRect: Rect!): PdfDocument.PageInfo.Builder!
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.
| Parameters | |
|---|---|
contentRect | 
            Rect!: The content rectangle. Must fit in the page. |