[FlagsAttribute()]
public enum CanvasCommandFlags
[FlagsAttribute()]
public enum class CanvasCommandFlags : public System.Enum, System.IComparable, System.IConvertible, System.IFormattable
class CanvasCommandFlags(Enum):
ResizeNormal = 0
ResizeNormal = 0
TileFit, ResizeResample = 2
TileFit, ResizeBicubic = 4
TileFit, TileShift = 16
Value | Member | Description |
---|---|---|
0x00000000 | ResizeNormal | Resize normally. |
0x00000000 | TileFit | Fit the canvas image so it has the same dimensions as the image that is being applied to the canvas, without tiling. |
0x00000002 | ResizeResample | Use linear interpolation and averaging to produce a higher quality image. |
0x00000004 | ResizeBicubic | Use bicubic interpolation and averaging to produce a higher quality image. This is slower than ResizeResample. |
0x00000010 | TileShift | Shift the canvas image by the amount specified in TilesOffset. |
You can use a bitwise OR ( ¦ ) to specify one flag from each group.
Group | Flags |
canvas image distribution | TileFit TileShift |
Resizing interpolation | ResizeNormal ResizeResample ResizeBicubic |
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document