ImageGear Professional v18.2 > API Reference Guide > MD Component API Reference > MD Component Objects > IGMedPage Object > IGMedPage Methods > ApplyOverlay Method |
Loads overlay planes from DICOM metadata (DataSet) attached to the image and creates ART marks of type IMAGE_EMBEDDED for each overlay plane. Each mark is placed in a separate ART group.
Overlay planes do not support specifying the colors (even black or white). An overlay pixel can only be visible or invisible. All visible overlay pixels are displayed with the same color, which is specified by the application and not stored in the DICOM DataSet. By default, ImageGear uses yellow color to display overlays. The application can change overlay color by going through all marks in the IGPage and changing image palette of IMAGE_EMBEDDED marks.
This function requires ART component to be attached to ImageGear.
Sub ApplyOverlay()