QMedical Command Reference
![]() |
![]() ![]() |
QMed_GetDefaultVOI(areaRef; defaultWidth; defaultCenter):error | |||
![]() |
areaRef | Longint | QMedical area reference |
![]() |
defaultWidth | Real | Default window width |
![]() |
defaultCenter | Real | Default window center |
![]() |
error | Longint | Error result |
Returns the default values of the VOI parameters for the image currently assigned to a plug-in area.
The default values are retrieved from the DICOM file. If the file contains multiple sets of default values, the first set is returned. If the file does not contain default values, values corresponding to an identity VOI transformation are returned.
The QMedical plug-in area is specified by areaRef. If areaRef is not a valid QMedical plug-in area reference, qmed_paramErr is returned.
Parameters defaultWidth and defaultCenter receive the default values of the window width and center respectively.