Gets or sets the MaintainImageRegion.
Namespace: Cognex.VisionPro.DisplayAssembly: Cognex.VisionPro.Display.Controls (in Cognex.VisionPro.Display.Controls.dll) Version: 80.0.0.0 (80.0.0.0)
public virtual bool MaintainImageRegion { get; set; }public virtual bool MaintainImageRegion { get; set; }Public Overridable Property MaintainImageRegion As Boolean
Get
Set
Public Overridable Property MaintainImageRegion As Boolean
Get
Set
public:
virtual property bool MaintainImageRegion {
bool get ();
void set (bool value);
}public:
virtual property bool MaintainImageRegion {
bool get ();
void set (bool value);
}Property Value
Type:
BooleanThe default value is true.
| Exception | Condition |
|---|
| AxHost InvalidActiveXStateException | Thrown when the display control is invalid. |
if true, maintain the image region within the display as you resize the display.
The property affects only the record selected.
The next image that comes in will use the existing display settings.
Other records are not affected.