본문으로 건너뛰기

SetHorizontalAlignment

Overloads

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

SetHorizontalAlignment(GridHorizontalAlignment type)

public void SetHorizontalAlignment(GridHorizontalAlignment type)

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

Parameters

NameTypeDescription
typeGridHorizontalAlignment

Examples

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

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

}