Click or drag to resize
XDL

NEditorGetMagnifiedImage Method

NEditor에 도시된 영상의 일부 영역을 BitmapImage로 만들어 반환한다.
NanMagnifier의 확대영역 이미지 생성에 사용하기 위해서 이 함수를 NanMagnifier의 delegate 함수로 등록한다.
NanMagnifier 객체의 SetMagnifiedImageDelegate() 의 인자로 이 함수를 설정한다.

Namespace: Pixoneer.NXDL.NXAnnotation
Assembly: NXAnnotation (in NXAnnotation.dll) Version: 2.0.3.38 (2.0.3.38)
Syntax
C#
public ImageSource GetMagnifiedImage(
	Color clr,
	double llx,
	double lly,
	double urx,
	double ury
)

Parameters

clr  Color
BitmapImage의 배경색, null일 경우, 사용하지 않는다.
llx  Double
BitmapImage 영역의 최소 X (world 좌표)
lly  Double
BitmapImage 영역의 최소 Y (world 좌표)
urx  Double
BitmapImage 영역의 최대 X (world 좌표)
ury  Double
BitmapImage 영역의 최대 Y (world 좌표)

Return Value

ImageSource
설정한 영역 데이타로 생성한 BitmapImage
See Also