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

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

    Parameters

    pdfPath
    The full path of the pdf file.
    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