Visual Basic (Declaration) | |
---|---|
Public Property Flags As RotateCommandBitmapEffectsFlags |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public RotateCommandBitmapEffectsFlags Flags {get; set;} |
C++/CLI | |
---|---|
public: property RotateCommandBitmapEffectsFlags Flags { RotateCommandBitmapEffectsFlags get(); void set (RotateCommandBitmapEffectsFlags value); } |
XAML Attributes Usage | |
---|---|
<object Flags =RotateCommandBitmapEffectsFlags > |
Dependencies Property Information | |
---|---|
Identifier field | FlagsProperty |
Metadata properties set to true | None |
XAML Attributes Usage | |
---|---|
<object Flags =RotateCommandBitmapEffectsFlags > |
Dependencies Property Information | |
---|---|
Identifier field | FlagsProperty |
Metadata properties set to true | None |
Return Value
Flag to keep the resulting image the same size as the original image or to resize according to the rotation direction specified.For XAML example, refer to RotateCommandBitmapEffect.
For C#/VB examples, refer to RotateCommandBitmapEffect.
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.
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, Windows Server 2008 family