Leadtools.ImageProcessing.Core Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
Dimension Property
See Also 
Leadtools.ImageProcessing.Core Namespace > HalfToneCommand Class : Dimension Property



Gets or sets a value that indicates the size of the grain.

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);
}

Return 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: 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