Click or drag to resize

JpegToPdfEncoder Class

This class is used to convert one or more JPEG files into a single PDF document. This is a lossless process: JPEG image data is rewritten directly into the output PDF without decoding/re-encoding it.
Inheritance Hierarchy
SystemObject
  Atalasoft.Imaging.Codec.PdfJpegToPdfEncoder

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 class JpegToPdfEncoder

The JpegToPdfEncoder type exposes the following members.

Constructors
  NameDescription
Public methodJpegToPdfEncoder
Constructs a new JpegToPdfEncoder object.
Top
Properties
  NameDescription
Public propertyBookmarkTree
Public propertyCreateSelfPrintingPdf
Gets or sets a boolean indicating if the output PDF file should be self-printing
Public propertyEncryptMetadata
Sets or gets a boolean indicating that metadata should be encrypted. Default is false.
Public propertyErrorRecovery
Sets or gets how to recover from errors.
Public propertyMetadata
Gets or sets the metadata information used for this PDF.
Public propertyOwnerPassword
Sets or gets an owner password to use for the document. Default value is null (no password).
Public propertyPageBorder
Gets or sets the amount of border space around the image in PDF Page Units.
Public propertyPageSize
Gets or sets the size of the PDF pages in PDF Page Units.
Public propertyPermissions
Public propertySelfPrintingShowsPrintOptions
When set to true, self-printing shows the print options dialog.
Public propertySelfPrintingShrinksToFitPage
When set to true, self-printing adjusts the content to fit the page size.
Public propertySizeMode
Gets or sets the page size mode for this PDF.
Public propertyUserPassword
Sets or gets a user password to use for the document. Default value is null (no password).
Public propertyXmp
Metadata in the Adobe XMP format
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodOnJpegAquired
Fires the JpegAcquired event
Public methodSave(Stream, IEnumerableStream)
Saves the set of JPEG images into a single multipage PDF document.
Public methodSave(Stream, Stream)
Save the single JPEG image into a single page PDF document.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Events
  NameDescription
Public eventJpegAquired
This event is used to indicate that a JPEG image has been acquired and is ready to be embedded within a PDF.
Top
See Also