PC SOFT

WINDEV的在线文档

  • Modifying the page displayed in an Image control or in the background of a Chart control
  • Limit
文档页面当前正在翻译。对于此延迟我们深表歉意。
您可以自愿地帮助我们翻译您想要的文档段落,然后只需通过以下地址与我们联系:info@cn.windev.com
产品
WinDevWebDev-服务器代码WebDev-浏览器代码WinDev Mobile报表和查询
平台
WindowsLinuxWindows MobileWindows PhoneWindows Store appsAndroidAndroid Widget iPhone/iPad
语言
JavaPHPAjax用户代码(MCU)外部语言
数据库
HFSQLHFSQL Client/Server存储过程HF 5.5OLE DBODBC本地访问

..页数 is used to find out the number of pages found in a "multi-page" file. This image is displayed in an Image control or in the background of a Chart control.

This property can also be used with the PDF files displayed in the Image controls.

Reminder: Some image formats (TIFF for example) can contain several images in the same file. Each image corresponds to a page of the file. These formats are called "multi-page" formats.

15版本和更高版本
WinDev This property is now available for the Java applications.
15新版本
WinDev This property is now available for the Java applications.
WinDev This property is now available for the Java applications.
例子
// Modify the image file associated with the "IMG_MyImage" control
IMG_MyImage..图片="MultipageFile.TIF"
// Successively display the different pages found in the image file
对于i1直到IMG_MyImage..页数
IMG_MyImage..页码=i
// Time-out for loading the images
多任务(-100
结束

语法
<Number of Pages> = <Control Name>..页数
<Number of Pages>: Integer
  • Number of pages found in the file associated with the specified control.
  • 1 if the format of the image file is not "multi-page" or if the "multi-page" format contains a single page.
  • 0 if the specified control is not associated with an image format supported by WinDev.
<Control Name>: Character string (with or without quotes)
Name of the control to use.

注意

Modifying the page displayed in an Image control or in the background of a Chart control

To modify the page displayed, use ..页码.

Limit

..页数 only applies to the Image controls and to the Chart controls found in the windows.