Flags that identify how to distribute the canvas image with respect to the image and how to handle resizing.
[FlagsAttribute()]public enum CanvasCommandFlags : System.Enum, System.IComparable, System.IConvertible, System.IFormattable
<FlagsAttribute()>Public Enum CanvasCommandFlagsInherits System.EnumImplements 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 |
|
Products |
Support |
Feedback: CanvasCommandFlags Enumeration - Leadtools.ImageProcessing.SpecialEffects |
Introduction |
Help Version 19.0.2017.3.21
|

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
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.