Visual Basic (Declaration) | |
---|---|
Public Property Flags As RotateCommandBitmapEffectsFlags |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public RotateCommandBitmapEffectsFlags Flags {get; set;} |
Managed Extensions for C++ | |
---|---|
public: __property RotateCommandBitmapEffectsFlags get_Flags(); public: __property void set_Flags( RotateCommandBitmapEffectsFlags value ); |
C++/CLI | |
---|---|
public: property RotateCommandBitmapEffectsFlags Flags { RotateCommandBitmapEffectsFlags get(); void set (RotateCommandBitmapEffectsFlags value); } |
XAML Attributes Usage | |
---|---|
<object Flags =RotateCommandBitmapEffectsFlags > |
Dependency 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, and Windows Server 2003