Options to use when converting a LEADTOOLS Leadtools.RasterImage object to GDI+ System.Drawing.Bitmap.
[FlagsAttribute()]
public enum ConvertToImageOptions
<FlagsAttribute()>
Public Enum ConvertToImageOptions
[FlagsAttribute()]
public enum class ConvertToImageOptions
Members
Value | Member | Description |
---|---|---|
0x00000000 | None | Default |
0x00000001 | InitAlpha | Initialize the destination image alpha values if supported (when the result of the conversion is a 32 or 64-bit image). If this flagged is specified, the result image will always have an alpha value of all 1's (255 for 32-bit images or 65535 for 64-bit images) regardless of the alpha values in the source image. This can be useful when converting some 32-bit images that may have 0 for the alpha (such as BMP files) which translates into an GDI+ image that is completely transparent. If this flag is not specified, then the source image alpha values will be used as is. |
The ConvertToImageOptions are used as an options for the RasterImageConverter.ConvertToImage method.
For more information refer to RasterImage and GDI/GDI+.
For an example, refer to RasterImageConverter.ConvertToImage
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.