@3dsource/metabox-front-api
    Preparing search index...

    Class GetPdf

    Represents a command to get a PDF from Metabox Basic Configurator. This class sends a message to the Metabox API to generate a PDF based on the current configuration. Important: No need to listen to any events to see changes. Pdf will be downloaded automatically once it's ready.

    Generates a native MetaBox PDF document. No subscription required — it executes independently.

    Generates a branded PDF from the current configurator state server-side. No event subscription needed. Use for B2B quote workflows, downloadable spec sheets, or emailing configured product summaries to prospects.

    Simply call api.sendCommandToMetabox(new GetPdf()). No parameters or event subscription required. The PDF generates inside MetaBox application.

    import { GetPdf, Communicator } from '@3dsource/metabox-front-api';
    window.env3DSource.apiReady = (api: Communicator) => {

    api.sendCommandToMetabox(new GetPdf());
    };
    Index

    Constructors

    Properties

    Constructors

    • Returns GetPdf

    Properties

    data: ToMetaBoxMessageEnvelope

    The message envelope populated by subclass constructors and sent via Communicator.sendCommandToMetabox.