SetWindowAttributes method (ILEADDicomDS Interface)

VB.NET example

C# example

Visual Basic example

Visual C++ 6.0 example

 

Syntax

short SetWindowAttributes(long lWindowIndex, long lFlags);

Overview

Refer to LUT Encoding.

Remarks

The SetWindowAttributes method sets the attributes that describe a window, as specified by the WindowAttributes property.

Before calling this method, set the properties specified by the WindowAttributes property to the desired values.

If the "Window Center" (0028,1050) doesn’t already exist in the Data Set, the method will insert it and set its value to the value specified by the WindowCenter property. Similarly, if the "Window Width" (0028,1051) doesn’t already exist in the Data Set, the method will insert it and set its value to the value specified by the WindowWidth property.

See Also

Elements:

WindowAttributes property, WindowCount property, GetWindowAttributes method, DeleteWindow method, SetVOILUT method

Topics:

Lookup Tables