Class PngConverter

Info

Represents Documentize.PngConverter plugin. Used to convert PDF documents into PNG format.

public sealed class PngConverter

Inheritance

objectPngConverter

Inherited Members

Examples

The example demonstrates how to convert PDF document into PNG format.

// Initialize the PngConverter
var plugin = new PngConverter();
// Create PdfToPngOptions object to set instructions
var options = new PdfToPngOptions()
{
    OutputResolution = 400, // Set image resolution
};
// Add input File path
options.AddInput(new FileDataSource("path_to_input.pdf"));
// Set output Directory path
options.AddOutput(new DirectoryDataSource("path_to_output"));
// Perform the process
plugin.Process(options);

Constructors

PngConverter()

public PngConverter()

Methods

Process(PdfToPngOptions)

Starts the Documentize.PngConverter processing with the specified parameters.

public ResultContainer Process(PdfToPngOptions options)

Parameters

  • options PdfToPngOptions: An options object containg instructions for the Documentize.PngConverter.

Returns

ResultContainer : An ResultContainer object containg the result of the operation.

Namespace: Documentize Assembly: Documentize.dll

 English