CogMisc LoadShapeModelsFromCVLFile Method Cognex VisionPro 9.20
Load a CogShapeModelCollection from a CVL archive.

Namespace: Cognex.VisionPro
Assembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 80.0.0.0
Syntax

public static ICogShapeModelCollection LoadShapeModelsFromCVLFile(
	string fileName,
	ICogImage shapeImage,
	bool propagateEvents
)

Parameters

fileName
Type: System String
The name of the source file.
shapeImage
Type: Cognex.VisionPro ICogImage
An image whose coordinate space tree aids in the determination of handedness.
propagateEvents
Type: System Boolean
If true, return a CogShapeModelPropCollection. Otherwise return a ShapeModelCollection.

Return Value

Type: ICogShapeModelCollection
A shape model collection corresponding to the specified CVL archive.
See Also