SetGridCellWidth
Overloads
| Name | Description |
|---|---|
| SetGridCellWidth(int row, int column, float width) | 활성화된 GridStructure의 row by column에 위치한 GridCell의 폭 길이를 수정한다. |
SetGridCellWidth(int row, int column, float width)
public void SetGridCellWidth(int row, int column, float width)
활성화된 GridStructure의 row by column에 위치한 GridCell의 폭 길이를 수정한다.
Parameters
| Name | Type | Description |
|---|---|---|
| row | int | |
| column | int | |
| width | float |
Examples
// VIZCore3D.NET Control
private VIZCore3D.NET.VIZCore3DControl vizcore3d;
private void Example()
{
vizcore3d.Drawing2D.GridStructure.AddGridStructure(3, 2, 210, 100);
vizcore3d.Drawing2D.GridStructure.SetGridCellWidth(1, 1, 50); // 활성화되어 있는 GridStructure의 1행 1열에 위치한 GridCell의 폭 길이를 50mm로 수정\
// 1행의 길이가 70 -> 50mm로 축소
// 전체 GridStructure의 폭이 210 -> 190mm로 축소
}