본문으로 건너뛰기

SetGridCellMargins

Overloads

NameDescription
SetGridCellMargins(int row, int column, float left, float right, float top, float bottom)활성화된 GridStructure의 row by column에 위치한 GridCell의 여백을 수정한다.

SetGridCellMargins(int row, int column, float left, float right, float top, float bottom)

public void SetGridCellMargins(int row, int column, float left, float right, float top, float bottom)

활성화된 GridStructure의 row by column에 위치한 GridCell의 여백을 수정한다.

Parameters

NameTypeDescription
rowint
columnint
leftfloat
rightfloat
topfloat
bottomfloat

Examples

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

private void Example()
{
vizcore3d.Drawing2D.GridStructure.AddGridStructure(3, 2, 210, 100);

vizcore3d.Drawing2D.GridStructure.SetGridCellMargins(1, 1, 10, 10, 5, 5); // 1행 1열에 위치한 GridCell의 좌측 여백 10mm, 우측 여백 10mm, 상단 여백 5mm, 하단 여백 5mm로 수정
}