Click or drag to resize

DocumentUploadingEventArgsConvertImageToPdf Property

Gets or sets a value indicating whether RAD PDF should convert supported image types to PDF automatically if DataUploaded is not a PDF.

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

Property Value

Type: Boolean
true supported image formats will be converted to PDF and appened to the current document; otherwise false. The default is true.
Remarks

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 append it to the current document.

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

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

See Also