Click or drag to resize

File3dmReadPreviewImage Method

Attempts to read the preview image out of a 3dm file.

Namespace:  Rhino.FileIO
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 5.0
Syntax
public static Bitmap ReadPreviewImage(
	string path
)

Parameters

path
Type: SystemString
The location of the file.

Return Value

Type: Bitmap
A bitmap, or null on failure.
Exceptions
ExceptionCondition
FileNotFoundExceptionIf the provided path is null, does not exist or cannot be accessed.
See Also