←Select platform

ConvertFromImageOptions Enumeration

Summary

Options for converting a WinRT Windows.UI.Xaml.Media.ImageSource to a LEADTOOLS RasterImage object.

Syntax

C#
VB
Objective-C
WinRT C#
C++
[FlagsAttribute()] 
public enum ConvertFromImageOptions 
<FlagsAttribute()> 
Public Enum ConvertFromImageOptions 
[FlagsAttribute()] 
public enum ConvertFromImageOptions 
typedef NS_OPTIONS(NSUInteger, LTConvertFromImageOptions)
Leadtools.Converters.ConvertFromImageOptions = function() { }; 
Leadtools.Converters.ConvertFromImageOptions.prototype = { 
 
  LeadtoolsMemberMarker(replace me) 
 }; 
[FlagsAttribute()] 
public enum class ConvertFromImageOptions 

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 RasterImage object by using the RasterImageConverter.ConvertFromImageSource method.

For more information refer to RasterImage and WinRT.

Example

For an example, refer to RasterImageConverter.

Requirements

Target Platforms

See Also

Reference

Leadtools.Converters Namespace

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Click or drag to resize