Report.SaveAsPDFCustom

Saves the report as a PDF file, with custom length and width (in 10ths of millimeters), to the specified file path.

Syntax Parameters Return/assignment value
Function Report.SaveAsPDFCustom( _
    FileName As String, _
    Optional Orientation As PDFOrientation = 1, _
    Optional Width As Long = 2159, _
    Optional Length As Long = 2794, _
    Optional Overwrite As Boolean = True) As Boolean
  • FileName [in]

    Type: String

  • Orientation [in, optional]

    Type: PDFOrientation

    Default value: 1

  • Width [in, optional]

    Type: Long

    Default value: 2159

  • Length [in, optional]

    Type: Long

    Default value: 2794

  • Overwrite [in, optional]

    Type: Boolean

    Default value: True

Boolean