# Class (PdfData) Implements the output data stream class of **createPdf()**. > **NOTE** > > - The initial APIs of this module are supported since API version 9. Updates will be marked with a superscript to indicate their earliest API version. > > - The initial APIs of this class are supported since API version 14. > > - You can preview how this component looks on a real device, but not in DevEco Studio Previewer. > > - When a PDF file is generated on a web page, a data stream is returned, which is encapsulated by the **PdfData** class. ## pdfArrayBuffer14+ pdfArrayBuffer(): Uint8Array Obtains the data stream generated by a web page. For details about the sample code, see [createPdf](./arkts-apis-webview-WebviewController.md#createpdf14). **System capability**: SystemCapability.Web.Webview.Core **Return value** | Type | Description | | ---------- | -------- | | Uint8Array | Data stream.|