←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
WinRT C#
C++
[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

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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.ImageProcessing.SpecialEffects Assembly