LEADTOOLS GDI/GDI+ (Leadtools.Drawing assembly)
LEAD Technologies, Inc

ConvertToImageOptions Enumeration






Options to use when converting a LEADTOOLS Leadtools.RasterImage object to GDI+ System.Drawing.Bitmap.
Syntax
'Declaration
 
<FlagsAttribute()>
Public Enum ConvertToImageOptions 
   Inherits System.Enum
   Implements System.IComparableSystem.IConvertibleSystem.IFormattable 
'Usage
 
Dim instance As ConvertToImageOptions
[FlagsAttribute()]
public enum ConvertToImageOptions : System.IComparableSystem.IConvertibleSystem.IFormattable  
Leadtools.Drawing.ConvertToImageOptions = function() { };
Leadtools.Drawing.ConvertToImageOptions.prototype = {
LeadtoolsMemberMarker(replace me) };
[FlagsAttribute()]
public enum class ConvertToImageOptions : public System.Enum, System.IComparableSystem.IConvertibleSystem.IFormattable  
Members
MemberDescription
InitAlphaInitialize 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.
NoneDefault
Remarks

The ConvertToImageOptions are used as an options for the RasterImageConverter.ConvertToImage method.

For more information refer to RasterImage and GDI/GDI+.

Example
For an example, refer to RasterImageConverter.ConvertToImage
Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         Leadtools.Drawing.ConvertToImageOptions

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Leadtools.Drawing Namespace

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.