iink-ts - v5.0.0
    Preparing search index...

    Class PDFExportManager

    Index
    • Parameters

      Returns HTMLDivElement

    • Parameters

      • svgContent: string

      Returns HTMLDivElement

    • Lay the content out on a single page, scaled to fit it.

      Parameters

      • svgContent: string
      • box: TBox
      • format: TPDFPageFormat
      • orientation: TPDFOrientation
      • scalePercent: number = PDFExportManager.DEFAULT_OPTIONS.scale

        Percentage of the fit-to-page size to use; 100 (the default) fills the page, 50 draws the content at half that size

      Returns HTMLDivElement

    • Open the PDF settings dialog.

      Parameters

      • onConfirm: (options: TPDFExportDialogOptions) => void

        Called with the chosen settings when the user validates

      • OptionalonCancel: () => void

        Called when the user dismisses the dialog, so callers awaiting the dialog can settle instead of hanging forever

      Returns void

    • Returns void

    DEFAULT_OPTIONS: TPDFExportDialogOptions = ...