Click or drag to resize

PdfEncoder Constructor (Int32, PdfPageSizeMode, Size, Int32, PdfMetadata)

Creates an instance of PdfEncoder specifying jpegQuality, sizeMode, pageSize, pageBorder and metadata.

Namespace:  Atalasoft.Imaging.Codec.Pdf
Assembly:  Atalasoft.dotImage.Pdf (in Atalasoft.dotImage.Pdf.dll) Version: 11.0.0.0.0.297 (.NET 4.5.2, x86)
Syntax
public PdfEncoder(
	int jpegQuality,
	PdfPageSizeMode sizeMode,
	Size pageSize,
	int pageBorder,
	PdfMetadata metadata
)

Parameters

jpegQuality
Type: SystemInt32
The Jpeg quality used when the image compression is set to Jpeg. The value can range from 1 to 100 where 1 provides the best compression, but least image quality and 100 provides the least compression, but best image quality.
sizeMode
Type: Atalasoft.Imaging.Codec.PdfPdfPageSizeMode
The size method used when creating the page.
pageSize
Type: System.DrawingSize
The page size in pixels.
pageBorder
Type: SystemInt32
The page border used for this image. Set to a value greater than 0, this will create a page with a blank border around the image in PDF Page units (72nds of an inch).
metadata
Type: Atalasoft.Imaging.Codec.PdfPdfMetadata
The metadata for this PDF file.
See Also