Leadtools.Dicom Requires Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.10.31
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.
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
)
Managed Extensions for 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 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 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