본문으로 건너뛰기

Add2DViewObjectImage

public int Add2DViewObjectImage(string imagePath, Vertex3D vCenter, float fScale)

이미지 파일을 읽어 캔버스의 지정 위치에 이미지 개체로 추가한다.

Parameters​

NameTypeDescription
imagePathstring이미지 파일 경로 (PNG, JPG, BMP)
vCenterVertex3D이미지 중심의 캔버스 좌표 (mm)
fScalefloat크기 배율. 1 이면 원본 픽셀 크기

Returns​

TypeDescription
int생성된 이미지 개체 ID. 실패하면 -1