Add2DNote
Overloads
| Name | Description |
|---|---|
| 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
| Name | Type | Description |
|---|---|---|
| title | string | 노트 제목 |
| vTarget | Vector3D | 지시 대상의 캔버스 좌표 |
| vLabel | Vector3D | 라벨의 캔버스 좌표 |
Returns
| Type | Description |
|---|---|
| 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
| Name | Type | Description |
|---|---|---|
| title1 | string | 첫 번째 행의 노트 제목 |
| title2 | string | 두 번째 행의 노트 제목 |
| vTarget | Vector3D | 지시 대상의 캔버스 좌표 |
| vLabel | Vector3D | 라벨의 캔버스 좌표 |
Returns
| Type | Description |
|---|---|
| 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
);
}