Leadtools.Dicom Requires Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.10.31
Grayscale Property
See Also 
Leadtools.Dicom Namespace > DicomGraphicLayer Class : Grayscale Property




Gets or sets the "Graphic Layer Recommended Display Grayscale Value" (0070,0066) attribute value.

Syntax

Visual Basic (Declaration) 
Public Property Grayscale As Integer
Visual Basic (Usage)Copy Code
Dim instance As DicomGraphicLayer
Dim value As Integer
 
instance.Grayscale = value
 
value = instance.Grayscale
C# 
public int Grayscale {get; set;}
Managed Extensions for C++ 
public: __property int get_Grayscale();
public: __property void set_Grayscale( 
   int value
);
C++/CLI 
public:
property int Grayscale {
   int get();
   void set (int value);
}

Return Value

Value that indicates the "Graphic Layer Recommended Display Grayscale Value" (0070,0066) attribute value.

Example

For an example, refer to CreateLayer.

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

Leadtools.Dicom requires a Medical toolkit license and unlock key. For more information, refer to: Raster Pro/Document/Medical Features