Visual Basic (Declaration) | |
---|---|
Public Property Flags As RotateCommandFlags |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As RotateCommand Dim value As RotateCommandFlags instance.Flags = value value = instance.Flags |
C# | |
---|---|
public RotateCommandFlags Flags {get; set;} |
C++/CLI | |
---|---|
public: property RotateCommandFlags Flags { RotateCommandFlags get(); void set ( RotateCommandFlags value); } |
Property Value
Flag to keep the resulting image the same size as the original image or to resize according to the rotation direction specified.For an example, refer to RotateCommand.
RotateCommandFlags.Resample and RotateCommandFlags..Bicubic can be combined with RotateCommandFlags.Resize, but they can not be combined with each other. Therefore, you can pass RotateCommandFlags.Resample Or RotateCommandFlags.Resize, but not RotateCommandFlags.Resample | RotateCommandFlags..Bicubic.
If RotateCommandFlags.Resize is set, then the image is resized. Otherwise, the image is cropped.
Target Platforms: Silverlight, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only), Windows Phone 7