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
Derived
JpegOptions, PngOptions, TiffOptions
Implements
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
defaultOutputImageResolution
protected const int defaultOutputImageResolution = 300
Field Value
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>
OperationName
Returns operation name.
public virtual string OperationName { get; }
Property Value
OutputResolution
Gets or sets the resolution value of the resulting images.
public int OutputResolution { get; set; }
Property Value
Outputs
public List<idatasource> Outputs { get; }
Property Value
List<IDataSource>
PageList
Gets or sets a list of pages for the process.
public List<int> PageList { get; set; }
Property Value
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.