コード例 #1
0
 private void axImageViewer1_SelectionRectDrawn(object sender, AxSCRIBBLELib._DImageViewerEvents_SelectionRectDrawnEvent e)
 {
     iSelLeft   = e.iLeft;
     iSelTop    = e.iTop;
     iSelWidth  = e.iWidth;
     iSelHeight = e.iHeight;
 }
コード例 #2
0
 private void axImageViewer1_SelectionRectDrawn(object sender, AxSCRIBBLELib._DImageViewerEvents_SelectionRectDrawnEvent e)
 {
     if (!chkfullpage.Checked)
     {
         this.txtleft.Text       = e.iLeft.ToString();
         this.txttop.Text        = e.iTop.ToString();
         this.txtfilewidth.Text  = e.iWidth.ToString();
         this.txtfileheight.Text = e.iHeight.ToString();
     }
 }
コード例 #3
0
 private void axImageViewer1_SelectionRectDrawn_1(object sender, AxSCRIBBLELib._DImageViewerEvents_SelectionRectDrawnEvent e)
 {
 }
コード例 #4
0
 private void axImageViewer1_SelectionRectDrawn_1(object sender, AxSCRIBBLELib._DImageViewerEvents_SelectionRectDrawnEvent e)
 {
     this.selRectPosLabel.Text = "Selection Rectangle Position" + Environment.NewLine +
                                 "L:" + e.iLeft.ToString() + ", T:" + e.iTop.ToString() + ", W:" + e.iWidth.ToString() + ", H:" + e.iHeight.ToString();
 }