Class PngConverter
Info
Represents Documentize.PngConverter plugin. Used to convert PDF documents into PNG format.
public sealed class PngConverter
Inheritance
Inherited Members
- object.GetType(),
- object.ToString(),
- object.Equals(object?),
- object.Equals(object?, object?),
- object.ReferenceEquals(object?, object?),
- object.GetHashCode()
Examples
The example demonstrates how to convert PDF document into PNG format.
// create PngConverter
var plugin = new PngConverter();
// create PdfToPngOptions object to set instructions
var opt = new PdfToPngOptions();
// add input file path
opt.AddInput(new FileDataSource(inputPath));
// set output file path
opt.AddOutput(new DirectoryDataSource(outputPath));
// perform the process
plugin.Process(opt);
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