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: (.NET 4.5.2, x86)
public PdfEncoder(
	int jpegQuality,
	PdfPageSizeMode sizeMode,
	Size pageSize,
	int pageBorder,
	PdfMetadata metadata


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.
Type: Atalasoft.Imaging.Codec.PdfPdfPageSizeMode
The size method used when creating the page.
Type: System.DrawingSize
The page size in pixels.
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).
Type: Atalasoft.Imaging.Codec.PdfPdfMetadata
The metadata for this PDF file.
See Also