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




Gets the number of the Graphic Layers.

Syntax

Visual Basic (Declaration) 
Public ReadOnly Property LayerCount As Integer
Visual Basic (Usage)Copy Code
Dim instance As DicomDataSet
Dim value As Integer
 
value = instance.LayerCount
C# 
public int LayerCount {get;}
Managed Extensions for C++ 
public: __property int get_LayerCount();
C++/CLI 
public:
property int LayerCount {
   int get();
}

Return Value

Number of the Graphic Layers.

Example

For an example, refer to CreateLayer.

Remarks

This property gets the number of layers inside a DICOM Data Set by counting the number of items under the "Graphic Layer Sequence" (0070,0060).

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