Name | Description | |
---|---|---|
ImageOptions Constructor |
The following tables list the members exposed by ImageOptions.
Name | Description | |
---|---|---|
ImageOptions Constructor |
Name | Description | |
---|---|---|
AlphaThreshold | Gets or sets the alpha threshold value. If all pixels of an image with the alpha channel have alpha values greater than or equal to this value, the alpha channel will not be saved, thus making the image and the whole PDF smaller. The default is 0xFF (i.e. all transparency is preserved). This property is ignored if SaveAllImagesAsJpeg is true. | |
CompressColors | Gets or sets a value indicating whether to apply a slight compression to color values. Unlike JPEG, this preserves transparency while still reducing the image size. The default is false. | |
Format | Gets or sets the format to use when saving images. This property does not affect images added as RawImage.
The default is ImageOptions.ImageFormat.Auto. | |
JpegQuality | Gets or sets the JPEG image quality, in percent. This value must be between 0 (lowest quality, maximum compression) to 100 (highest quality, no compression). The default is 75. | |
SaveAllImagesAsJpeg | Gets or sets a value indicating whether all images should be converted to JPEG format when added to the PDF. The default is false. Note that any transparency (if present in the original image) is lost if this property is set to true. This property does not affect images added as RawImage. |
Name | Description | |
---|---|---|
AssignFrom | Copies all property values from another object. | |
Reset | Resets all properties to their default values. |