C#
VB
WinRT C#
C++
Flags that identify how to distribute the canvas image with respect to the image and how to handle resizing.
[FlagsAttribute()]
public enum CanvasCommandFlags
<FlagsAttribute()>
Public Enum CanvasCommandFlags
Inherits System.Enum
Implements System.IComparable, System.IConvertible, System.IFormattable
[FlagsAttribute()]
public enum CanvasCommandFlags : System.IComparable, System.IConvertible, System.IFormattable
Leadtools.ImageProcessing.SpecialEffects.CanvasCommandFlags = function() { };
Leadtools.ImageProcessing.SpecialEffects.CanvasCommandFlags.prototype = {
ResizeNormal = 0x00000000,
TileFit = 0x00000000,
ResizeResample = 0x00000002,
ResizeBicubic = 0x00000004,
TileShift = 0x00000010,
};
[FlagsAttribute()]
public enum class CanvasCommandFlags : public System.Enum, System.IComparable, System.IConvertible, System.IFormattable
Members
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 |
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET