ImageGear Professional for Windows ActiveX
ExtractPresentationDataTo Method

 

Description:

Extracts the Presentation State related information from an IGMedPage Object, based on its display settings and annotations attached to it, and adds this information to the DataSet of another IGMedPage Object.

This function may add/update the following tags/sequences in the PresState:

To create a new presentation state DataSet, use the following steps:

  1. Create a new IGPage Object, using IGImageAllocationParams.Compression = IG_BI_EMPTY
  2. Call ExtractPresentationDataTo to add Presentation State tags
  3. Add the other tags required by the Presentation State module using general DataSet access functions.
  4. Save Presentation State to file with SavePageToFile or similar methods, using Format = IG_FORMAT_DCM.

To modify an existing Presentation State DataSet, use the following steps:

  1. Load a Presentation State DataSet using LoadPageFromFile or similar methods
  2. Apply the Presentation State to a DICOM image, using IGMedPage.ApplyPresentationDataFrommethod
  3. Change display settings or ART marks
  4. Extract Presentation Data from DICOM image back to Presentation State DataSet, using IGMedPage.ExtractPresentationDataTo
  5. Save Presentation State to file with SavePageToFile or similar methods, using Format = IG_FORMAT_DCM.

Syntax:

      ExtractPresentationDataTo (PresState As IIGMedPage, PageDisplay
as IIGPageDisplay, Flags As Long) 

Parameters:

Name Description
PresState DICOM Page to extract PS Data from
PageDisplay IGPageDisplay settings
Flags PS flags parameter

Return Value:

N/A

Bits Per Pixel:

N/A

Sample:

Med

 

 


©2016. Accusoft Corporation. All Rights Reserved.

Send Feedback