Click or drag to resize

PdfLiteSettings.ConvertImageToPdf 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:  RadPdfStandard (in RadPdfStandard.dll) Version: 4.4.0.0 (4.4.0.0)
Syntax
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.
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 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
This website uses cookies to identify your session and other necessary functions. By using this website, you are agreeing to our Terms of Use and Privacy Policy (updated April 26 2021).
Learn About Cookies
Got it!