Visual Basic (Declaration) | |
---|---|
<FlagsAttribute()> Public Enum RotateCommandBitmapEffectsFlags Inherits Enum |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
[FlagsAttribute()] public enum RotateCommandBitmapEffectsFlags : Enum |
Managed Extensions for C++ | |
---|---|
[FlagsAttribute()] __value public enum RotateCommandBitmapEffectsFlags : public Enum |
C++/CLI | |
---|---|
[FlagsAttribute()] public enum class RotateCommandBitmapEffectsFlags : public Enum |
XAML Attributes Usage | |
---|---|
<object property=EnumerationValue .../> |
Member | Description |
---|---|
None | Default, do not resize the image, crop it. |
Resize | Size resulting image as needed. |
Resample | Perform bilinear interpolation when rotating. |
Bicubic | Perform bicubic interpolation when rotating. |
RotateCommandBitmapEffectsFlags.Resample and RotateCommandBitmapEffectsFlags.Bicubic can be combined with RotateCommandBitmapEffectsFlags.Resize, but they can not be combined with each other. Therefore, you can pass RotateCommandBitmapEffectsFlags.Resample Or RotateCommandBitmapEffectsFlags.Resize, but not RotateCommandBitmapEffectsFlags.Resample | RotateCommandBitmapEffectsFlags.Bicubic.
If RotateCommandBitmapEffectsFlags.Resize is set, then the image is resized. Otherwise, the image is cropped.
System.Object
System.ValueType
System.Enum
Leadtools.Windows.Media.Effects.RotateCommandBitmapEffectsFlags
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, and Windows Server 2003