ICog3DDisplayV2Impl SaveAsImage Method Cognex VisionPro 9.24
Renders the contents of the display to a PNG with the given resolution.

Namespace: Cognex.VisionPro3D.Implementation.Internal
Assembly: Cognex.VisionPro3D.Graphic (in Cognex.VisionPro3D.Graphic.dll) Version: 91.0.0.0
Syntax

void SaveAsImage(
	int width,
	int height,
	string fileName
)

Parameters

width
Type: System Int32
The given width.
height
Type: System Int32
The given height.The path of the PNG file
fileName
Type: System String
See Also