Open Inventor Release 2024.2.0
 
Loading...
Searching...
No Matches
PDFExport Samples

HardCopy PDFExport - Converts Open Inventor files to PDF files.

SYNOPSIS:

    PDFExport <inputFile.iv> [outputFile.pdf] [landscape]

DESCRIPTION:

    PDFExport reads a file and converts it to a PDF file. If no input file is given, a user interface is launched allowing to specify various options. Otherwise, it converts the specified Open Inventor file.

USAGE:

    The following command line options are allowed:

    <inputFile.iv> The Open Inventor file to convert (mandatory).
    [outputFile.pdf] The name of the generated PDF file.
    [landscape] The orientation of the PDF File (default, i.e. nothing specified, is portrait).

EXAMPLES

    To convert an Open Inventor file:

    PDFExport gear.iv

    To convert an Open Inventor file in landscape mode:

    PDFExport gear.iv gear.pdf landscape

    To open the user interface:

    PDFExport

SEE ALSO

SoToPDFAction SoToU3DAction

SCREENSHOT:

FILES:

    • HardCopy/Samples/PDFExport/main.cxx
    • HardCopy/Samples/PDFExport/PdfExportDialog.cxx
    • HardCopy/Samples/PDFExport/PdfExportDialog.h
    • HardCopy/Samples/PDFExport/PdfExportDialog_base.ui