Web API Core | ComponentOne
C1.Web.Api.Pdf Namespace / PdfController Class / ExportPdf_Post Method
The full path of the pdf.
The export options.
The optional exported file name.

In This Topic
    ExportPdf_Post Method
    In This Topic
    Exports the specified pdf to the specified export filter with options.
    Syntax
    'Declaration
     
    
    <HttpPostAttribute()>
    <PathRouteAttribute("{*pdfPath}$pdf/export")>
    Public Overridable Function ExportPdf_Post( _
       ByVal pdfPath As String, _
       ByVal exportOptions As IDictionary(Of String,String), _
       Optional ByVal exportFileName As String _
    ) As IActionResult
    [HttpPost()]
    [PathRoute("{*pdfPath}$pdf/export")]
    public virtual IActionResult ExportPdf_Post( 
       string pdfPath,
       IDictionary<string,string> exportOptions,
       string exportFileName
    )

    Parameters

    pdfPath
    The full path of the pdf.
    exportOptions
    The export options.
    exportFileName
    The optional exported file name.

    Return Value

    An Microsoft.AspNetCore.Mvc.IActionResult type object with content of exported file stream.
    See Also