←Select platform

CanvasCommandFlags Enumeration

Summary
Flags that identify how to distribute the canvas image with respect to the image and how to handle resizing.

Syntax
C#
VB
C++
[FlagsAttribute()] 
public enum CanvasCommandFlags 
  
<FlagsAttribute()> 
Public Enum CanvasCommandFlags  
   Inherits System.Enum 
   Implements System.IComparable, System.IConvertible, System.IFormattable  
[FlagsAttribute()] 
public enum class CanvasCommandFlags : public System.Enum, System.IComparable, System.IConvertible, System.IFormattable   
Members
ValueMemberDescription
0x00000000ResizeNormalResize normally.
0x00000000TileFitFit the canvas image so it has the same dimensions as the image that is being applied to the canvas, without tiling.
0x00000002ResizeResampleUse linear interpolation and averaging to produce a higher quality image.
0x00000004ResizeBicubicUse bicubic interpolation and averaging to produce a higher quality image. This is slower than ResizeResample.
0x00000010TileShiftShift the canvas image by the amount specified in TilesOffset.
Remarks

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

Requirements

Target Platforms

Help Version 21.0.2021.6.30
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.ImageProcessing.SpecialEffects Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.