IMcDisplayDisplayWhat Property
|
|
Determines whether the Image, Overlays or Both are included in
the generated Display.
Namespace:
MediaCy.IQL.Display.Viewer
Assembly:
MediaCy.IQL.Display.Viewer (in MediaCy.IQL.Display.Viewer.dll) Version: 10.0.6912.0
SyntaxProperty DisplayWhat As mcDisplayWhat
Get
Set
Property Value
Type:
mcDisplayWhat
RemarksWhen DisplayWhat is not mcdwImageOnly or mcdwBothImageAndOverlays, then
the viewer blackens the target display surface and doesn't display the image.
However, the viewer's PostPaint event is still fired, allowing the overlays to
paint onto the display surface.
Assigning mcdwImageOnly or mcdwImageOnly will prevent AboutToPaint and PostPaint
events being fired to all notify clients, thereby removing all overlay painting
from the image. Individual overlays may be turned off via the NotifyEnabled
property, and their notify order may be changed via the SetNotifyPriority
method.
Note |
---|
This property is sometimes useful for improving performance by stopping
image display even when you want to eventually display the image, especially if
the image will undergo a multitude of interim changes during an involved
process. Another possible use is if the display window is subclassed, perhaps by
a capture driver. The subclassing code could then implement some specialized
display code with out worrying about the viewer interfering. |
See Also