←Select platform

TileWidth Property

Summary

Gets or sets the value that indicates the width of the tile, in pixels.

Syntax
C#
VB
C++
public int TileWidth { get; set; } 
  
Public Property TileWidth As Integer 
public: 
property int TileWidth { 
   int get(); 
   void set (    int ); 
} 

Property Value

Value that indicates the width of the tile, in pixels. The meaning of the TileWidth property differs according to the flags that are set in the Flags property. Possible values are:

If Flags property contains: Then, TileWidth property contains: And the range of possible values for TileWidth property is:
RomanMosaicCommandFlags.Rectangular The width of each rectangular tile, in pixels. 1 to the image width / 2, if there is no region. If there is a region, then the range of values is just the region width/2.
RomanMosaicCommandFlags.Circular The radial length of each arc-shaped tile, in pixels 1 to the half of the diagonal of the image, if there is no region. If there is a region, then the range of values is just the half of the diagonal of the region rectangle.
RomanMosaicCommandFlags.Both The radial length of each arc-shaped tile, in pixels 1 to the half of the diagonal of the image, if there is no region. If there is a region, then the range of values is just the half of the diagonal of the region rectangle.

Example

Refer to RomanMosaicCommand example.

Requirements

Target Platforms

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

Leadtools.ImageProcessing.SpecialEffects Assembly