Flags that identify how to distribute the canvas image with respect to the image and how to handle resizing.
Visual Basic (Declaration) | |
---|---|
<FlagsAttribute()> Public Enum CanvasCommandFlags Inherits System.Enum Implements IComparable, IConvertible, IFormattable |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As CanvasCommandFlags |
C# | |
---|---|
[FlagsAttribute()] public enum CanvasCommandFlags : System.Enum, IComparable, IConvertible, IFormattable |
C++/CLI | |
---|---|
[FlagsAttribute()] public enum class CanvasCommandFlags : public System.Enum, IComparable, IConvertible, IFormattable |
Member | Description |
---|---|
ResizeBicubic | Use bicubic interpolation and averaging to produce a higher quality image. This is slower than ResizeResample. |
ResizeNormal | Resize normally. |
ResizeResample | Use linear interpolation and averaging to produce a higher quality image. |
TileFit | Fit the canvas image so it has the same dimensions as the image that is being applied to the canvas, without tiling. |
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 |
System.Object
System.ValueType
System.Enum
Leadtools.ImageProcessing.SpecialEffects.CanvasCommandFlags
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7