Visual Basic (Declaration) | |
---|---|
<FlagsAttribute()> Public Enum RasterImageMediaConverterFromFlags Inherits Enum |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
[FlagsAttribute()] public enum RasterImageMediaConverterFromFlags : Enum |
Managed Extensions for C++ | |
---|---|
[FlagsAttribute()] __value public enum RasterImageMediaConverterFromFlags : public Enum |
C++/CLI | |
---|---|
[FlagsAttribute()] public enum class RasterImageMediaConverterFromFlags : public Enum |
Member | Description |
---|---|
None | No options |
KeepAlphaValues | Use the source image alpha values when converting from and to a pixel format that supports an alpha channel. If this flag is not set, the alpha values in the source image will be ignored (if present) and an alpha value of all 1's (opaque) will be used instead. If the destination pixel format does not support alpha, this value is ignored. |
KeepViewPerspective | Do not rotate or flip the destination image if the source image has a view perspective other than RasterViewPerspective.TopLeft/>. For example, if the source image has a view perspective of RasterViewPerspective.BottomLeft, the result destination image will be flipped. If this flag is not present, the conversion method will rotate/flip the scanlines as needed. |
IgnoreLowHighBitsOnGrayImages | Ignore the LowBit and HighBit values if the source image is a grayscale image with bits per pixel value of 12 or 16. If this flag is not present, the low/high bit values will be used when converting the scanlines of the destination image. |
For an example, refer to RasterImageMediaConverter
For more information, refer to the RasterImageMediaConverter.ConvertFrom method.
System.Object
System.ValueType
System.Enum
Leadtools.Windows.Media.RasterImageMediaConverterFromFlags
Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family