Flags that identifiy how to distribute the canvas image with respect to the image and how to handle resizing.
| Visual Basic (Declaration) | |
|---|---|
<FlagsAttribute()> Public Enum CanvasCommandFlags Inherits Enum | |
| Visual Basic (Usage) | Copy Code |
|---|---|
| |
| C# | |
|---|---|
[FlagsAttribute()] public enum CanvasCommandFlags : Enum | |
| Managed Extensions for C++ | |
|---|---|
[FlagsAttribute()] __value public enum CanvasCommandFlags : public Enum | |
| C++/CLI | |
|---|---|
[FlagsAttribute()] public enum class CanvasCommandFlags : public Enum | |
| Member | Description |
|---|---|
| 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. |
| ResizeNormal | Resize normally. |
| ResizeResample | Use linear interpolation and averaging to produce a higher quality image. |
| ResizeBicubic | Use bicubic interpolation and averaging to produce a higher quality image. This is slower than ResizeResample. |
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 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family