Click or drag to resize
XDL

NXPlanetViewHost Class

이 클래스는 한번에 여러 뷰를 컨트롤을 하기위해 컨테이너를 구현
Inheritance Hierarchy

Namespace:  Pixoneer.NXDL.NXPlanet
Assembly:  NXPlanet (in NXPlanet.dll) Version: 2.0.3.30
Syntax
C#
public class NXPlanetViewHost : ContainerControl

The NXPlanetViewHost type exposes the following members.

Constructors
  NameDescription
Public methodNXPlanetViewHost
NXPlanetViewHost 객체를 생성하고 데이터 멤버를 초기화한다. 기본 생성자.
Top
Examples
This is example #1:
partial class FormMain
{
    private Pixoneer.NXDL.NXPlanet.NXPlanetViewHost nxPlanetViewHost1;
    private Pixoneer.NXDL.NXPlanet.NXPlanetView nxPlanetView1;
    private Pixoneer.NXDL.NXPlanet.NXPlanetView nxPlanetView2;

    private void InitializeComponent()
    {
        this.nxPlanetViewHost1 = new Pixoneer.NXDL.NXPlanet.NXPlanetViewHost();
        this.nxPlanetView1 = new Pixoneer.NXDL.NXPlanet.NXPlanetView();
        this.nxPlanetView2 = new Pixoneer.NXDL.NXPlanet.NXPlanetView();
        this.nxPlanetViewHost1.SuspendLayout();
        this.SuspendLayout();
        // 
        // nxPlanetViewHost1
        // 
        this.nxPlanetViewHost1.Controls.Add(this.nxPlanetView2);
        this.nxPlanetViewHost1.Controls.Add(this.nxPlanetView1);
        this.nxPlanetViewHost1.Dock = System.Windows.Forms.DockStyle.Fill;
        this.nxPlanetViewHost1.Location = new System.Drawing.Point(0, 0);
        this.nxPlanetViewHost1.Name = "nxPlanetViewHost1";
        this.nxPlanetViewHost1.Size = new System.Drawing.Size(885, 416);
        this.nxPlanetViewHost1.TabIndex = 0;
        this.nxPlanetViewHost1.Text = "nxPlanetViewHost1";
        // 
        // nxPlanetView1
        // 
        this.nxPlanetView1.Anchor = System.Windows.Forms.AnchorStyles.None;
        this.nxPlanetView1.Brightness = 1F;
        this.nxPlanetView1.Contrast = 1F;
        this.nxPlanetView1.EarthMode = Pixoneer.NXDL.NXPlanet.NXPlanetView.eEarthMode.Planet3D;
        this.nxPlanetView1.LayoutMode = Pixoneer.NXDL.NXPlanet.NXPlanetView.eLayoutMode.Relative;
        this.nxPlanetView1.Location = new System.Drawing.Point(0, 0);
        this.nxPlanetView1.Name = "nxPlanetView1";
        this.nxPlanetView1.RelativeHeight = 1D;
        this.nxPlanetView1.RelativeLeft = 0D;
        this.nxPlanetView1.RelativeTop = 0D;
        this.nxPlanetView1.RelativeWidth = 0.5D;
        this.nxPlanetView1.Saturation = 1F;
        this.nxPlanetView1.ShowGrid = true;
        this.nxPlanetView1.ShowStatusInfo = false;
        this.nxPlanetView1.Size = new System.Drawing.Size(442, 416);
        this.nxPlanetView1.TabIndex = 0;
        this.nxPlanetView1.ToolboxMode = Pixoneer.NXDL.NXPlanet.NXPlanetView.eToolboxMode.None;
        // 
        // nxPlanetView2
        // 
        this.nxPlanetView2.Anchor = System.Windows.Forms.AnchorStyles.None;
        this.nxPlanetView2.Brightness = 1F;
        this.nxPlanetView2.Contrast = 1F;
        this.nxPlanetView2.EarthMode = Pixoneer.NXDL.NXPlanet.NXPlanetView.eEarthMode.Planet3D;
        this.nxPlanetView2.LayoutMode = Pixoneer.NXDL.NXPlanet.NXPlanetView.eLayoutMode.Relative;
        this.nxPlanetView2.Location = new System.Drawing.Point(442, 0);
        this.nxPlanetView2.Name = "nxPlanetView2";
        this.nxPlanetView2.RelativeHeight = 1D;
        this.nxPlanetView2.RelativeLeft = 0.5D;
        this.nxPlanetView2.RelativeTop = 0D;
        this.nxPlanetView2.RelativeWidth = 0.5D;
        this.nxPlanetView2.Saturation = 1F;
        this.nxPlanetView2.ShowGrid = true;
        this.nxPlanetView2.ShowStatusInfo = false;
        this.nxPlanetView2.Size = new System.Drawing.Size(442, 416);
        this.nxPlanetView2.TabIndex = 1;
        this.nxPlanetView2.ToolboxMode = Pixoneer.NXDL.NXPlanet.NXPlanetView.eToolboxMode.None;
        // 
        // FormViewHost
        // 
        this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 12F);
        this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
        this.ClientSize = new System.Drawing.Size(885, 416);
        this.Controls.Add(this.nxPlanetViewHost1);
        this.Name = "FormViewHost";
        this.Text = "FormViewHost";
        this.nxPlanetViewHost1.ResumeLayout(false);
        this.ResumeLayout(false);
    }
}
See Also