Click or drag to resize

DocumentAppendingEventArgsConvertImageToPdf Property

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

Namespace:  RadPdf.Integration
Assembly:  RadPdf (in RadPdf.dll) Version: 3.48.0.0 (3.48.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 DataToAppend is not a valid PDF file.

This property has no effect unless AppendType is Data.

See Also