본문으로 건너뛰기

Add2DNote

Overloads

NameDescription
Add2DNote(string title, Vector3D vTarget, Vector3D vLabel)현재 활성화되어 있는 캔버스에 2D 노트를 추가한다.
Add2DNote(string title1, string title2, Vector3D vTarget, Vector3D vLabel)현재 활성화되어 있는 캔버스에 2D 노트를 추가한다.

Add2DNote(string title, Vector3D vTarget, Vector3D vLabel)

public int Add2DNote(string title, Vector3D vTarget, Vector3D vLabel)

현재 활성화되어 있는 캔버스에 2D 노트를 추가한다.

Parameters

NameTypeDescription
titlestring노트 제목
vTargetVector3D지시 대상의 캔버스 좌표
vLabelVector3D라벨의 캔버스 좌표

Returns

TypeDescription
int추가된 2D 노트의 인덱스

Examples

// VIZCore3D.NET Control
private VIZCore3D.NET.VIZCore3DControl vizcore3d;

private void Example()
{
vizcore3D.View.EnableAnimation = false;
vizcore3d.Review.Note.Clear();

vizcore3d.ViewMode = ViewKind.Drawing2D;

int idx = vizcore3d.Drawing2D.View.Add2DNote(
"New 2D Note",
new VIZCore3D.NET.Data.Vector3D(0.0, 0.0, 0.0), // Target position on canvas
new VIZCore3D.NET.Data.Vector3D(100.0, 100.0, 0.0) // Label position on canvas
);
}

Add2DNote(string title1, string title2, Vector3D vTarget, Vector3D vLabel)

public int Add2DNote(string title1, string title2, Vector3D vTarget, Vector3D vLabel)

현재 활성화되어 있는 캔버스에 2D 노트를 추가한다.

Parameters

NameTypeDescription
title1string첫 번째 행의 노트 제목
title2string두 번째 행의 노트 제목
vTargetVector3D지시 대상의 캔버스 좌표
vLabelVector3D라벨의 캔버스 좌표

Returns

TypeDescription
int

Examples

// VIZCore3D.NET Control
private VIZCore3D.NET.VIZCore3DControl vizcore3d;

private void Example()
{
vizcore3D.View.EnableAnimation = false;
vizcore3d.Review.Note.Clear();

vizcore3d.ViewMode = ViewKind.Drawing2D;

int idx = vizcore3d.Drawing2D.View.Add2DNote(
"New 2D Note",
"Title Under the First Title",
new VIZCore3D.NET.Data.Vector3D(0.0, 0.0, 0.0), // Target position on canvas
new VIZCore3D.NET.Data.Vector3D(100.0, 100.0, 0.0) // Label position on canvas
);
}