【发布时间】:2014-02-04 13:28:37
【问题描述】:
我想将裁剪控件放在图片框图像的中心。我试过下面的代码
Dim oCropControl As new CropControl
Dim oControlLocation As Point
oControlLocation = New Point(peImageViewer.Width / 2, peImageViewer.Height / 2)
oCropControl.Location = New Point(oControlLocation.X, oControlLocation.Y)
但这效果不佳.. :( 裁剪控制显示在底部。
提前致谢!!
【问题讨论】:
-
oControlLocation是什么? -
这是我的作物控制的定位点。
标签: vb.net image-processing crop