Export PDF to JPG - PDF Tools API - C#

New Here ,
Jul 30, 2020 Jul 30, 2020

Copy link to clipboard

Copied

For the code below, is there a way to define the resolution that the output will be generated?  The API creates a rather low resolution image.  I would like to create a much high resolution image.

--------------------------------------------------------------------------

 

ExecutionContext executionContext = ExecutionContext.Create(credentials);
ExportPDFOperation exportPdfOperation = ExportPDFOperation.CreateNew(ExportPDFTargetFormat.PNG);

// Set operation input from a source file.
FileRef sourceFileRef = FileRef.CreateFromLocalFile(@"exportPdfToImageInput.pdf");
exportPdfOperation.SetInput(sourceFileRef);


// Execute the operation.
FileRef result = exportPdfOperation.Execute(executionContext);

 

 

 

Views

87

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Oct 06, 2020 Oct 06, 2020

Copy link to clipboard

Copied

LATEST

Thanks for reaching out to us. As of now we do not support setting up resolution of the output images exported from a given PDF file through our SDKs.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines