Click or drag to resize

PreviewManagerShowDialog Method (ListNode, Int32, Int32, CameraDirection, Boolean)

Show Preview Dialog

Namespace:  VIZCore3DX.NET.Manager
Assembly:  VIZCore3DX.NET (in VIZCore3DX.NET.dll) Version: 1.1.25.827 (1.1.25.827)
Syntax
C#
public PreviewDialog ShowDialog(
	List<Node> nodes,
	int width,
	int height,
	CameraDirection cameraDirection,
	bool topMost = true
)

Parameters

nodes
Type: System.Collections.GenericListNode
노드 목록
width
Type: SystemInt32
Dialog Width
height
Type: SystemInt32
Dialog Height
cameraDirection
Type: VIZCore3DX.NET.DataCameraDirection
카메라 방향
topMost (Optional)
Type: SystemBoolean
폼을 맨위 폼으로 표시 여부

Return Value

Type: PreviewDialog
VIZCore3DX.NET.Dialogs.PreviewDialog
Examples
C#
// VIZCore3DX.NET Control
private VIZCore3DX.NET.VIZCore3DXControl vizcore3dx;

private void Example()
{
    List<Data.Node> nodes = vizcore3dx.Object3D.FromFilter(Object3dFilter.SELECTED_ALL);
    VIZCore3DX.NET.Dialogs.PreviewDialog form = vizcore3dx.View.Preview.ShowDialog(nodes, 600, 600, Data.CameraDirection.ISO_PLUS);
    form.FitToView();
}
See Also