Click or drag to resize

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

Creates a new instance of PdfEncoder specifying sizeMode, pageSize, pageBorder, metadata and document type.

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(
	PdfPageSizeMode sizeMode,
	Size pageSize,
	int pageBorder,
	PdfMetadata metadata,
	PdfDocumentType docType
)

Parameters

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.
docType
Type: Atalasoft.PdfDocPdfDocumentType
The document type for the resulting PDF
See Also