LEADTOOLS Image Processing (Leadtools.ImageProcessing.SpecialEffects assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
TileWidth Property
See Also 
Leadtools.ImageProcessing.SpecialEffects Namespace > RomanMosaicCommand Class : TileWidth Property



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

Syntax

Visual Basic (Declaration) 
Public Property TileWidth As Integer
Visual Basic (Usage)Copy Code
Dim instance As RomanMosaicCommand
Dim value As Integer
 
instance.TileWidth = value
 
value = instance.TileWidth
C# 
public int TileWidth {get; set;}
C++/CLI 
public:
property int TileWidth {
   int get();
   void set (    int value);
}

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

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also