Click or drag to resize

PdfLiteSettingsConvertImageToPdf Property

Gets or sets a value indicating whether a PdfWebControlLite instance should convert supported image types to PDF automatically if used with CreateDocument(String, Byte).

Namespace:  RadPdf.Lite
Assembly:  RadPdf (in RadPdf.dll) Version: (
public bool ConvertImageToPdf { get; set; }

Property Value

Type: Boolean
true supported image formats will be converted to PDF and loaded as a new document; otherwise false. The default is true.

If true and RAD PDF recognizes the input as a supported image format (and not a PDF), RAD PDF will convert the image to a PDF and load it as a new document.

At this time the following iamge formats are supported:
  • BMP
  • JPEG
  • PNG
  • TIFF

If false, RAD PDF will throw an error if the input is not a valid PDF file.

See Also