SongExport

enum SongExport

Export a single Song to a PDF

Export a single Song to PDF

  • Export a single song to PDF

    Declaration

    Swift

    static func export(
        song: Song,
        chordDisplayOptions: ChordDefinition.DisplayOptions
    ) throws -> (pdf: Data, toc: [PDFBuild.TOCInfo])

    Parameters

    song

    The Song to export

    generalOptions

    The general options

    chordDisplayOptions

    The chord display options

    Return Value

    The song as PDF Data and the TOC as a TOCInfo array

Get all the PDF elements for a Song