| Leadtools.Converters Namespace : ConvertFromImageOptions Enumeration |


[FlagsAttribute()] public enum ConvertFromImageOptions : System.Enum, System.IComparable, System.IConvertible, System.IFormattable
'Declaration <FlagsAttribute()> Public Enum ConvertFromImageOptions Inherits System.Enum Implements System.IComparable, System.IConvertible, System.IFormattable
'Usage Dim instance As ConvertFromImageOptions
[FlagsAttribute()] public enum ConvertFromImageOptions : System.IComparable, System.IConvertible, System.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.IComparable, System.IConvertible, System.IFormattable
| Value | Member | Description |
|---|---|---|
| 0 | None | Default ![]() ![]() |
| 1 | LinkImage | Uses the data from the source's native image object without making a copy.
In WinRT, it links the RasterImage to a WriteableBitmap. |
| 10 | AutoFreeLinkImage | Automatically frees the linked native image object when the RasterImage is disposed. |
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.
System.Object
System.ValueType
System.Enum
Leadtools.Converters.ConvertFromImageOptions