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



Gets or sets a value that indicates the size of the grain. Supported in Silverlight, Windows Phone 7

Syntax

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

Property Value

Value that indicates the size of the grain. This value is ignored if the selected halftone pattern is HalfToneCommandType.View or HalfToneCommandType.Print. If the pattern is not HalfToneCommandType.View or HalfToneCommandType.Print, Dimension should be >= 1. If this property is < 1 this command will return ERROR_INV_PARAMETER.

Example

Refer to HalfToneCommand.

Requirements

Target Platforms: Silverlight 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)

See Also