PrintDocumentInfo.Builder.SetPageCount(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the total number of pages.
[Android.Runtime.Register("setPageCount", "(I)Landroid/print/PrintDocumentInfo$Builder;", "")]
public Android.Print.PrintDocumentInfo.Builder SetPageCount(int pageCount);
[<Android.Runtime.Register("setPageCount", "(I)Landroid/print/PrintDocumentInfo$Builder;", "")>]
member this.SetPageCount : int -> Android.Print.PrintDocumentInfo.Builder
Parameters
- pageCount
- Int32
The number of pages. Must be greater than or equal to zero or PrintDocumentInfo.PAGE_COUNT_UNKNOWN. Value is -1 or greater
Returns
This builder. This value cannot be null.
- Attributes
Remarks
Sets the total number of pages.
Default: PrintDocumentInfo.PAGE_COUNT_UNKNOWN
Android reference for android.print.PrintDocumentInfo.Builder.setPageCount.
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.