openharmony 鸿蒙 arkts-apis-webview-PdfData

2026-08-25 浏览 (1)

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.

  • The sample effect is subject to the actual device.

  • 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.

System capability: SystemCapability.Web.Webview.Core

Return value

TypeDescription
Uint8ArrayData stream.

你可能感兴趣的鸿蒙文章

openharmony 鸿蒙 arkts-apis-webview-WebviewController

openharmony 鸿蒙 arkts-apis-webview-t

openharmony 鸿蒙 arkts-apis-webview

openharmony 鸿蒙 capi-arkweb-type-h

openharmony 鸿蒙 arkts-basic-components-web-FullScreenExitHandler

openharmony 鸿蒙 arkts-apis-webview-WebDownloadManager

openharmony 鸿蒙 arkts-basic-components-web-VerifyPinHandler

openharmony 鸿蒙 capi-web-arkweb-webmessage8h

openharmony 鸿蒙 arkts-apis-webview-NativeMediaPlayerHandler

openharmony 鸿蒙 capi-web-arkweb-proxymethodwithresult

  • 所属分类: 后端技术
  • 本文标签: 鸿蒙 软件
  • 版权声明: 本文链接 https://seaxiang.com/blog/ocy5jUcv