Click or drag to resize

ModelManagerGetModelThumbnail Method (String)

VIZ 파일 헤더에 포함되어 있는 Thumbnail 반환

Namespace:  VIZCore3D.NET.Manager
Assembly:  VIZCore3D.NET (in VIZCore3D.NET.dll) Version: 2.8.24.1104 (2.8.24.1104)
Syntax
C#
public static Image GetModelThumbnail(
	string path
)

Parameters

path
Type: SystemString
VIZ 파일

Return Value

Type: Image
Thumbnail
Examples
C#
// VIZCore3D.NET Control
private VIZCore3D.NET.VIZCore3DControl vizcore3d;

private void ThumbnailFromFile()
{
    string path = "C:\\Model\\BLOCK.viz";

    System.Drawing.Image thumbnail = VIZCore3D.NET.Manager.ModelManager.GetModelThumbnail(path);

    if (thumbnail != null)
    {
        // Some code here...
    }
}
See Also