Click or drag to resize

SectionManagerSetStyle Method

지정된 스타일을 기본 스타일로 지정

Namespace:  VIZCore3DX.NET.Manager
Assembly:  VIZCore3DX.NET (in VIZCore3DX.NET.dll) Version: 1.0.25.326 (1.0.25.326)
Syntax
C#
public void SetStyle(
	SectionStyle style
)

Parameters

style
Type: VIZCore3DX.NET.DataSectionStyle
단면 스타일
Examples
C#
// VIZCore3DX.NET Control
private VIZCore3DX.NET.VIZCore3DXControl vizcore3dx;

private void Example()
{       
    // Get Style
    VIZCore3DX.NET.Data.SectionStyle sectionStyle = vizcore3dx.Section.GetStyle();

    sectionStyle.BoundaryStrokeColor = Color.Red;
    sectionStyle.FaceFillColor = Color.FromArgb(10, Color.Aqua);
    sectionStyle.BoundaryStrokeThickness = 10;
    sectionStyle.HighlightedBoundaryStrokeColor = Color.Green;
    sectionStyle.SelectedBoundaryStrokeColor = Color.Green;
    sectionStyle.DisabledBoundaryStrokeColor = Color.Green;
    sectionStyle.XHandleFillColor = Color.Yellow;
    sectionStyle.YHandleFillColor = Color.Yellow;
    sectionStyle.ZHandleFillColor = Color.Yellow;
    sectionStyle.HighlightedHandleFillColor = Color.Red;

    // Set Style
    vizcore3dx.Section.SetStyle(sectionStyle);   
}
See Also