使用的视图布局imageview.
公共虚拟ImageViewerViewLayoutViewLayout {得到;集;}
公共重写的财产ViewLayout ()作为ImageViewerViewLayout得到集
公共:虚拟财产ImageViewerViewLayout^ ViewLayout{ImageViewerViewLayout^ get ()无效集(ImageViewerViewLayout^价值)}
this使用的视图布局imageview.的实例ImageViewerSingleViewLayout.
有关更多信息,请参阅图像查看器布局.
属性中添加了一些项imageview然后允许你在不同的视图布局之间切换来查看差异。
运行演示。现在,当您单击Example按钮时。
从imageview例如,删除示例函数内的所有代码(搜索“// TODO: add example code here”注释),并插入以下代码:
使用Leadtools;使用Leadtools.Controls;使用Leadtools.Codecs;使用Leadtools.Drawing;使用Leadtools.ImageProcessing;使用Leadtools.ImageProcessing.Color;公共无效ImageViewerViewLayout_Example (){ImageViewerViewLayout布局=新ImageViewerHorizontalViewLayout {Rows = 2};_imageViewer。ViewLayout =布局;_imageViewer.UpdateTransform ();_imageViewer.Invalidate ();字符串味精=字符串.Format (”布局。Name = {0}\nLayout。SizeModeHeight = {1}\nLayout。sizemodehightitemcount = {2}\nLayout。SizeModeWidth = {3}\nLayout。SizeModeWidthItemCount = {4}\n",_imageViewer.ViewLayout.Name,_imageViewer.ViewLayout.SizeModeHeight,_imageViewer.ViewLayout.SizeModeHeightItemCount,_imageViewer.ViewLayout.SizeModeWidth,_imageViewer.ViewLayout.SizeModeWidthItemCount);对话框。显示(味精,“ImageViewerLayout信息”);}
进口Leadtools进口Leadtools。控制进口Leadtools。编解码器进口Leadtools。画进口Leadtools。ImageProcessing进口Leadtools.ImageProcessing.Color进口LeadtoolsControlsExamples.LeadtoolsExamples.Common公共子ImageViewerViewLayout_Example ()昏暗的布局作为新ImageViewerHorizontalViewLayout ()布局。行数= 2_imageViewer。ViewLayout = layout_imageViewer.UpdateTransform ()_imageViewer.Invalidate ()昏暗的味精作为字符串=字符串.Format (”布局。Name = {0}"&常数。vbLf &”布局。SizeModeHeight = {1}"&常量。vbLf &”布局。size = {2}"&常数。vbLf &”布局。SizeModeWidth = {3}"&常数。vbLf &”布局。SizeModeWidthItemCount = {4}"&常量。vbLf _imageViewer.ViewLayout。名称、_imageViewer.ViewLayout.SizeModeHeight_imageViewer.ViewLayout.SizeModeHeightItemCount,_imageViewer.ViewLayout.SizeModeWidth,_imageViewer.ViewLayout.SizeModeWidthItemCount)对话框。显示(味精,“ImageViewerLayout信息”)结束子
帮助收藏
光栅net|C API|c++类库|HTML5 JavaScript
文档net|C API|c++类库|HTML5 JavaScript
医疗net|C API|c++类库|HTML5 JavaScript
医疗网络查看器net
188宝金博怎么下载
支持的平台上
.NET、Java、Android和iOS/macOS程序集
C API/ c++类库
HTML5 JavaScript库
您的邮件已发送给技术支持!应该有人联系!如果你的事情很紧急,请回来聊天。
聊天时间:
周一至周五,美国东部时间上午8:30至下午6:00
感谢您的反馈!
请再次填写表格,开始新的聊天。
所有代理目前都离线。
聊天时间:
星期一至星期五
美国东部时间上午8:30 -下午6点
如需与我们联系,请填写此表格,我们将通过电子邮件与您联系。
