Leadtools.Converters assembly

ConvertFromImageOptions Enumeration

Show in webframe







Options for converting a WinRT Windows.UI.Xaml.Media.ImageSource to a LEADTOOLS Leadtools.RasterImage object.
Syntax
[FlagsAttribute()]
public enum ConvertFromImageOptions : System.Enum, System.IComparableSystem.IConvertibleSystem.IFormattable  
'Declaration
 
<FlagsAttribute()>
Public Enum ConvertFromImageOptions 
   Inherits System.Enum
   Implements System.IComparableSystem.IConvertibleSystem.IFormattable 
'Usage
 
Dim instance As ConvertFromImageOptions
[FlagsAttribute()]
public enum ConvertFromImageOptions : System.IComparableSystem.IConvertibleSystem.IFormattable  
enum LTConvertFromImageOptions

            
Leadtools.Converters.ConvertFromImageOptions = function() { };
Leadtools.Converters.ConvertFromImageOptions.prototype = {
None = 0, LinkImage = 1, AutoFreeLinkImage = 10, };
[FlagsAttribute()]
public enum class ConvertFromImageOptions : public System.Enum, System.IComparableSystem.IConvertibleSystem.IFormattable  
Members
ValueMemberDescription
0NoneDefault
1LinkImageUses the data from the source's native image object without making a copy.

In WinRT, it links the RasterImage to a WriteableBitmap.

10AutoFreeLinkImageAutomatically frees the linked native image object when the RasterImage is disposed.
Remarks

This enumeration is used to specify the options for converting a WinRT Windows.UI.Xaml.Media.ImageSource into a LEADTOOLS Leadtools.RasterImage object by using the RasterImageConverter.ConvertFromImageSource method.

For more information refer to RasterImage and WinRT.

Example
For an example, refer to RasterImageConverter.
Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         Leadtools.Converters.ConvertFromImageOptions

Requirements

Target Platforms

See Also

Reference

Leadtools.Converters Namespace

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.