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



layerIndex
The zero-based index of the layer whose attributes are to be set.
graphicLayer
The layer attributes.
layerIndex
The zero-based index of the layer whose attributes are to be set.
graphicLayer
The layer attributes.
Sets layer attributes for the layer at the specified index.

Syntax

Visual Basic (Declaration) 
Public Sub SetLayerInformation( _
   ByVal layerIndex As Integer, _
   ByVal graphicLayer As DicomGraphicLayer _
) 
Visual Basic (Usage)Copy Code
Dim instance As DicomDataSet
Dim layerIndex As Integer
Dim graphicLayer As DicomGraphicLayer
 
instance.SetLayerInformation(layerIndex, graphicLayer)
C# 
public void SetLayerInformation( 
   int layerIndex,
   DicomGraphicLayer graphicLayer
)
C++/CLI 
public:
void SetLayerInformation( 
   int layerIndex,
   DicomGraphicLayer^ graphicLayer
) 

Parameters

layerIndex
The zero-based index of the layer whose attributes are to be set.
graphicLayer
The layer attributes.

Example

For an example, refer to DicomDataSet.CreateLayer.

Remarks

The index specified by layerIndex is based on the number of items under the "Graphic Layer Sequence" (0070,0060); for example, the index of the first item is zero.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also

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