본문으로 건너뛰기

SetVerticalAlignment

Overloads

NameDescription
SetVerticalAlignment(GridVerticalAlignment type)활성화 중인 캔버스 내 정의된 GridStructure의 수직 방향 정렬 타입을 설정한다. 정렬 타입 수정 이후 생성되는 GridCell에 적용된다.

SetVerticalAlignment(GridVerticalAlignment type)

public void SetVerticalAlignment(GridVerticalAlignment type)

활성화 중인 캔버스 내 정의된 GridStructure의 수직 방향 정렬 타입을 설정한다. 정렬 타입 수정 이후 생성되는 GridCell에 적용된다.

Parameters

NameTypeDescription
typeGridVerticalAlignment

Examples

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

private void Example()
{
vizcore3d.Drawing2D.GridStructure.AddGridStructure(3, 2, 210, 297);
vizcore3d.Drawing2D.GridStructure.SetVerticalAlignment(GridVerticalAlignment.Middle); // 활성화되어 있는 GridStructure의 수직 방향 정렬 타입 설정

}