ImageGear22.Formats.Dicom Assembly > ImageGear.Formats.DICOM Namespace > ImGearDICOM Class > LoadOverlay Method : LoadOverlay(ImGearPage,Boolean) Method |
useLegacyMarks
flag.'Declaration Public Overloads Shared Function LoadOverlay( _ ByVal source As ImGearPage, _ ByVal useLegacyMarks As Boolean _ ) As ImGearARTPage
'Usage Dim source As ImGearPage Dim useLegacyMarks As Boolean Dim value As ImGearARTPage value = ImGearDICOM.LoadOverlay(source, useLegacyMarks)
public static ImGearARTPage LoadOverlay( ImGearPage source, bool useLegacyMarks )
public: static ImGearARTPage* LoadOverlay( ImGearPage* source, bool useLegacyMarks )
public: static ImGearARTPage^ LoadOverlay( ImGearPage^ source, bool useLegacyMarks )
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 ImageGear.ART.ImGearARTPage class and changing palette of either ImageGear.ART.ImGearARTImage or ImageGear.ART.ImGearARTImageEmb class marks.