ComponentOne Web API Edition
ExportPdf_Post Method

C1.Web.Api.Pdf Namespace > PdfController Class : ExportPdf_Post Method
The full path of the pdf.
The export options.
The optional exported file name.
Exports the specified pdf to the specified export filter with options.
Syntax
'Declaration
 
<HttpPostAttribute()>
<PathRouteAttribute(Template="{*pdfPath}$pdf/export", 
   Name="", 
   ExcludingKeywords=, 
   Order=0)>
Public Overridable Function ExportPdf_Post( _
   ByVal pdfPath As String, _
   ByVal exportOptions As IDictionary(Of String,String), _
   Optional ByVal exportFileName As String _
) As IHttpActionResult
[HttpPost()]
[PathRoute(Template="{*pdfPath}$pdf/export", 
   Name="", 
   ExcludingKeywords=, 
   Order=0)]
public virtual IHttpActionResult 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 System.Web.Http.IHttpActionResult type object with content of exported file stream.
See Also

Reference

PdfController Class
PdfController Members