Facade API
Enable the PDF Facade before creating the application API object.
The getting-started responsibility is only to wire the PDF Facade into your application. Register UniverPdfsPlugin for the PDF unit model, then import the side-effect entry before calling FUniver.newAPI().
Enable the PDF Facade
TypeScript
import { FUniver } from '@univerjs/core/facade'import '@univerjs-pro/pdfs/facade'const univerAPI = FUniver.newAPI(univer)The side-effect import extends FUniver and univerAPI.Enum with PDF methods and enums.
Continue with the Univer PDFs API for creating, finding, saving, and editing PDF units.
How is this guide?