Class PdfToImageOptions

Class PdfToImageOptions

Namespace: Aspose.Pdf.Plugins
Assembly: Aspose.PDF.dll

Represents options for the Aspose.Pdf.Plugins.PdfToImage plugin.

public abstract class PdfToImageOptions : IPluginOptions

Inheritance

objectPdfToImageOptions

Derived

JpegOptions, PngOptions, TiffOptions

Implements

IPluginOptions

Inherited Members

object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Remarks

The PdfImageOptions class contains base functions to add data (files, streams) representing input PDF documents.

Fields

defaultOutputImageJpegQuality

protected const int defaultOutputImageJpegQuality = 100

Field Value

int

defaultOutputImageResolution

protected const int defaultOutputImageResolution = 300

Field Value

int

Properties

ConversionMode

Gets image conversion mode.

public PdfToImageOptions.ImageConversionMode ConversionMode { get; }

Property Value

PdfToImageOptions.ImageConversionMode

Inputs

Returns Aspose.Pdf.Plugins.PdfToImage plugin data collection.

public List<idatasource> Inputs { get; }

Property Value

List<IDataSource&gt;

OperationName

Returns operation name.

public virtual string OperationName { get; }

Property Value

string

OutputResolution

Gets or sets the resolution value of the resulting images.

public int OutputResolution { get; set; }

Property Value

int

Outputs

public List<idatasource> Outputs { get; }

Property Value

List<IDataSource&gt;

PageList

Gets or sets a list of pages for the process.

public List<int> PageList { get; set; }

Property Value

List<int&gt;

Methods

AddInput(IDataSource)

Adds new data source to the Aspose.Pdf.Plugins.PdfToImage plugin data collection.

public void AddInput(IDataSource dataSource)

Parameters

dataSource IDataSource

Data source to add.

AddOutput(IDataSource)

Sets new save data source. Can only be a Aspose.Pdf.Plugins.FileDataSource. If you want save images into memory streams, pass null as parameter.

public void AddOutput(IDataSource saveDataSource)

Parameters

saveDataSource IDataSource

Save data source.

 English