Add2DViewObjectImage
public int Add2DViewObjectImage(string imagePath, Vertex3D vCenter, float fScale)
이미지 파일을 읽어 캔버스의 지정 위치에 이미지 개체로 추가한다.
Parameters
| Name | Type | Description |
|---|---|---|
| imagePath | string | 이미지 파일 경로 (PNG, JPG, BMP) |
| vCenter | Vertex3D | 이미지 중심의 캔버스 좌표 (mm) |
| fScale | float | 크기 배율. 1 이면 원본 픽셀 크기 |
Returns
| Type | Description |
|---|---|
| int | 생성된 이미지 개체 ID. 실패하면 -1 |