SetThumbnailText方法

总结
为特定的缩略图元素设置缩略图文本。
语法
c#
VB
c++
公共无效SetThumbnailText (intthumbIndex字符串thumbText
公共SetThumbnailText (_按值传递thumbIndex作为整数, _按值传递thumbText作为字符串_
公共无效SetThumbnailText (intthumbIndex字符串^thumbText

参数

thumbIndex
要更新的缩略图的索引。

thumbText
新的缩略图文本。

例子

这个例子设置了缩略图元素文本。

c#
VB
使用Leadtools;使用Leadtools.Codecs;使用Leadtools.Web.Controls;公共无效WebThumbnailViewer_SetThumbnailText (WebThumbnailViewer WebThumbnailViewer)ThumbnailInfo thumbInfo;intI = 0;i < webThumbnailViewer.Count;我+ +)thumbInfo = webThumbnailViewer.GetThumbnailInfo(i);webThumbnailViewer。SetThumbnailText(我字符串.Format (“页面{0}”thumbInfo.Page));
进口Leadtools进口Leadtools。编解码器进口Leadtools。ImageProcessing进口Leadtools.Web.Controls公共WebThumbnailViewer_SetThumbnailText (按值传递webThumbnailViewer作为WebThumbnailViewer)昏暗的thumbInfo作为ThumbnailInfo作为整数= 0webThumbnailViewer。一步1getthumbnailinfo (i)webThumbnailViewer。SetThumbnailText(我字符串.Format (“页面{0}”, thumbInfo.Page))下一个结束
需求

目标平台

Leadtools。网络大会
188金宝搏的网址客服|支持|联系我们|知识产权公告
©1991 - 2021领德科技有限公司版权所有。