ImageGear for .NET
CreateFromMinMax Method
See Also  Example Send Feedback
ImageGear21.Formats.Dicom Assembly > ImageGear.Formats.DICOM Namespace > ImGearVOIWindow Structure : CreateFromMinMax Method




min
Window Minimum.
max
Window Maximum.

Glossary Item Box

Creates Window transform from Window minimum and maximum values.

Syntax

 
Visual Basic
C#
Managed Extensions for C++
C++/CLI
 
 

Parameters

min
Window Minimum.
max
Window Maximum.

Return Value

ImGearVOIWindow structure object.

Remarks

This method creates Window transform from 32-bit integer Minimum and Maximum values. Please use CreateFromMinMax64 method if you are working with 17-32 bit per channel images.

Example

C#Copy Code
ImGearVOIWindow window = ImGearVOIWindow.CreateFromMinMax(1024, 2048);
Visual BasicCopy Code
Dim window As ImGearVOIWindow = ImGearVOIWindow.CreateFromMinMax(1024, 2048)

See Also

©2013. Accusoft Corporation. All Rights Reserved.