Leadtools.ImageProcessing.SpecialEffects Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
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);
}

Return 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: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also