複数の表示画像の使用
Epson RC+ 8.0では、ご使用のアプリケーションで複数の表示画像を使用できます。各表示で、表示するカメラを選択できます。
また複数表示を使用するためには、“SpelVideoコントロール”プロパティーを各表示に設定する必要があります。
下記の例は、2つの表示画像を含んだ初期化です。
VB 例:
Private Sub Form_Load(sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
m_spel = New Spel
m_spel.Initialize()
m_spel.Project = "c:\EpsonRC80\projects\test\test.sprj"
SpelVideo1.VideoEnabled = True
SpelVideo1.GraphicsEnabled = True
SpelVideo1.Camera = 1
SpelVideo2.VideoEnabled = True
SpelVideo2.GraphicsEnabled = True
SpelVideo2.Camera = 2
m_spel.SpelVideoControl = SPELVideo1
m_spel.SpelVideoControl = SPELVideo2
End Sub
C# 例:
private void Form_Load)object sender, EventArgs e)
{
RCAPINet.Spel m_spel = new RCAPINet.Spel();
m_spel.Initialize();
m_spel.Project = @"c:\\EpsonRC80\\project\\test\\test.sprj";
SpelVideo1.VideoEnabled = true;
SpelVideo1.GraphicsEnabled = true;
SpelVideo1.Camera = 1;
SpelVideo2.VideoEnabled = true;
SpelVideo2.GraphicsEnabled = true;
SpelViodeo2.Camera = 2;
m_spel.SpelVdieoControl = SPELVideo1;
m_spel.SpelVideoControl = SPELVideo2;
}
← 画像表示 AsyncModeの使用 →