ImageGear for Java
loadPresState Method
Stream, containing presentation state object.
Page to apply Presentation State to.
PageDisplay to apply Presentation State to.
Options structure, tells which settings need to be applied.
Loads Presentation State object and applies it to an image.
Syntax

Parameters

strm
Stream, containing presentation state object.
page
Page to apply Presentation State to.
pageDisplay
PageDisplay to apply Presentation State to.
options
Options structure, tells which settings need to be applied.

Return Value

New instance of com.accusoft.imagegear.core.ImGearMetadataHead class object, containing metadata loaded from the Presentation State object.

This method loads Presentation State object from a stream and applies settings, found in this object, to the page and to the pageDisplay. Specifically:

  • Adjusts page's ImGearDICOMDisplaySettings class member using VOI, Modality and Presentation LUTs, found in the Presentation State DataSet.
  • Sets image rectangle and orientation of the pageDisplay;
  • Adds annotation objects to the pageDisplay.

All previous settings and annotations of the page and pageDisplay are discarded.

This method also returns all metadata found in the Presentation State object.

com.accusoft.imagegear.core.ImGearRasterPageT:com.accusoft.imagegear.display.IImGearPageDisplay

See Also

Reference

ImGearDICOM Class
ImGearDICOM Members

 

 


©2016. Accusoft Corporation. All Rights Reserved.

Send Feedback