ImageGear Professional v18.2 > API Reference Guide > MD Component API Reference > MD Component Objects > IGMedPage Object > IGMedPage Methods > ApplyPresDataFrom Method |
Extracts Presentation State data from DICOM DataSet of PresStatePage, and adjusts display of the IGMedPage Object based on this data, and on the StdDsplLUT, if it is not empty.
This function may result in the following:
If there are no VOI or Modality LUT in the PresState, the function tries to find them in the DataSet of IGMedPage Object on which the method has been called. If there are no such LUTs there, default values are taken.
If MED_PS_FEATURE_PRES_LUT bit flag is set in the Flags parameter, the function assumes that MED_PS_FEATURE_CONTRAST is set as well.
This method replaces IGMedPage.ApplyPresentationDataFrom Method. It works with the new class IGLUT, which is more flexible, and is supported by some new API methods.
ApplyPresDataFrom (PresState as IGMedPage, PageDisplay as
IGPageDisplay, Flags as Long, StdDsplLUT as IGLUT);
Name | Description |
---|---|
PresState | DICOM Page from which to extract PS Data. |
PageDisplay | IGPageDisplay settings. |
Flags | PS flags parameter. |
StdDsplLUT | IGLUT object. |
N/A
N/A
Med