Creates an image that contains a graphical rendering of the entire arrangement.
Namespace: Cognex.VisionPro.OCVMaxAssembly: Cognex.VisionPro.OCVMax (in Cognex.VisionPro.OCVMax.dll) Version: 69.0.0.0
Syntax
Parameters
- pPose
- Type: Cognex.VisionPro CogTransform2DLinear
A CogTransform2DLinear that defines the mapping from arrangement space to selected space.
- foregroundGrey
- Type: System Byte
The nominal greyscale value of the text.
- backgroundGrey
- Type: System Byte
The nominal greyscale value of everything but the text.
Return Value
Type: CogImage8GreyAn image that contains a graphical rendering of the current arrangement. This image is sized to contain the entire rendering.
Exceptions
| Exception | Condition |
|---|---|
| ObjectDisposedException | If this CogOCVMaxPattern object has already been disposed. |
See Also