PC SOFT

WINDEV的在线文档

  • Drawing functions, zoom and automatic scrollbars
  • 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本地访问

..缩放 allows you to find out and modify the zoom value used:
17版本和更高版本
  • in an Image control. The management of automatic scrollbars and zoom must be enabled in this Image control ("Automatic scrollbars and zoom" in the "Details" tab of the description window of the control).
  • WinDev in an Organization Chart control.
17新版本
  • in an Image control. The management of automatic scrollbars and zoom must be enabled in this Image control ("Automatic scrollbars and zoom" in the "Details" tab of the description window of the control).
  • WinDev in an Organization Chart control.
  • in an Image control. The management of automatic scrollbars and zoom must be enabled in this Image control ("Automatic scrollbars and zoom" in the "Details" tab of the description window of the control).
  • WinDev in an Organization Chart control.
  • in an Image control. The management of automatic scrollbars and zoom must be enabled in this Image control ("Automatic scrollbars and zoom" in the "Details" tab of the description window of the control).
  • WinDev in an Organization Chart control.
  • WinDev in an Image control. The management of automatic scrollbars and zoom must be enabled in this Image control ("Automatic scrollbars and zoom" in the "Details" tab of the description window of the control).
  • WinDev in a Map control.
  • WinDev in an Organization Chart control.
  • 20版本和更高版本
    WinDev in a Table, Treeview Table, Pivot Table, Spreadsheet or List Box control.
    20新版本
    WinDev in a Table, Treeview Table, Pivot Table, Spreadsheet or List Box control.
    WinDev in a Table, Treeview Table, Pivot Table, Spreadsheet or List Box control.

20版本和更高版本
WinDevWindows This property is now available on the Map control for the WinDev applications for Windows.
WindowsLinux This property is now available on the Map control for the WebDev sites on Windows and Linux.
20新版本
WinDevWindows This property is now available on the Map control for the WinDev applications for Windows.
WindowsLinux This property is now available on the Map control for the WebDev sites on Windows and Linux.
WinDevWindows This property is now available on the Map control for the WinDev applications for Windows.
WindowsLinux This property is now available on the Map control for the WebDev sites on Windows and Linux.
例子
WinDev
// Performs a 40% zoom of the PDF file displayed in the image
IMG_Image_PDF..缩放=40

语法

Finding out the zoom value 隐藏详细信息

<Result> = <Control Name>..缩放
<Result>: Integer
Value of the zoom currently performed in the control.This value corresponds to a percentage:
  • in an Image control,
  • 17版本和更高版本
    WinDev in an Organization Chart control.
    17新版本
    WinDev in an Organization Chart control.
    WinDev in an Organization Chart control.

This value corresponds to a percentage:
  • in an Image control,
  • WinDev in an Organization Chart control.

This value corresponds to:
  • WinDev In an Image control: the zoom percentage.
  • WinDev In an Organization Chart control: the zoom percentage.
  • 20版本和更高版本
    WinDev In a Table, Treeview Table, Pivot Table or Spreadsheet control: the zoom percentage.
    20新版本
    WinDev In a Table, Treeview Table, Pivot Table or Spreadsheet control: the zoom percentage.
    WinDev In a Table, Treeview Table, Pivot Table or Spreadsheet control: the zoom percentage.
  • WinDev In a Map control: to a value found between 1 (display of the entire table) and 21.
<Control Name>: Character string (with or without quotes)
17版本和更高版本
Name of the control to use:
  • Name of the Image control.
  • WinDev Name of the Organization Chart control.
17新版本
Name of the control to use:
  • Name of the Image control.
  • WinDev Name of the Organization Chart control.
Name of the control to use:
  • Name of the Image control.
  • WinDev Name of the Organization Chart control.

Name of the control to use:
  • Name of the Image control.
  • WinDev Name of the Organization Chart control.

Name of the control to use:
  • WinDev Name of the Image control.
  • WinDev Name of the Organization Chart control.
  • WinDev Name of the Map control.
  • 20版本和更高版本
    WinDev Name of the Table, Treeview Table, Pivot Table, Spreadsheet or List Box control.
    20新版本
    WinDev Name of the Table, Treeview Table, Pivot Table, Spreadsheet or List Box control.
    WinDev Name of the Table, Treeview Table, Pivot Table, Spreadsheet or List Box control.

Modifying the zoom value 隐藏详细信息

<Control Name>..缩放 = <New Zoom>
<Control Name>: Character string (with or without quotes)
17版本和更高版本
Name of the control to use:
  • Name of the Image control.
  • WinDev Name of the Organization Chart control.
17新版本
Name of the control to use:
  • Name of the Image control.
  • WinDev Name of the Organization Chart control.
Name of the control to use:
  • Name of the Image control.
  • WinDev Name of the Organization Chart control.

Name of the control to use:
  • Name of the Image control.
  • WinDev Name of the Organization Chart control.

Name of the control to use:
  • WinDev Name of the Image control.
  • WinDev Name of the Organization Chart control.
  • WinDev Name of the Map control.
  • 20版本和更高版本
    WinDev Name of the Table, Treeview Table, Pivot Table, Spreadsheet or List Box control.
    20新版本
    WinDev Name of the Table, Treeview Table, Pivot Table, Spreadsheet or List Box control.
    WinDev Name of the Table, Treeview Table, Pivot Table, Spreadsheet or List Box control.
<New Zoom>: Integer or Integer constant
New zoom value that must be applied to the control.

WinDev For an Image control, this value can correspond to:
  • a percentage.
  • one of the following constants:
    缩放.适应高度Displays the image full height in the Image control.
    缩放.适应宽度Displays the image full width in the Image control.
    缩放.大小匹配Displays the entire image in the Image control.
Note: the zoom value is not stored when a new image is loaded in the control.

17版本和更高版本

WinDev For an Organization Chart control, this value corresponds to a percentage.
17新版本

WinDev For an Organization Chart control, this value corresponds to a percentage.

WinDev For an Organization Chart control, this value corresponds to a percentage.

WinDev For an Organization Chart control, this value corresponds to a percentage.

WinDev For a Map control:
  • this value is included between 1 (the entire Earth is displayed) and 21.
  • 20版本和更高版本
    this value can correspond to the following constant:
    缩放.大小匹配Adapts the zoom of the Map control in order for all the markers to be visible at the same time.
    20新版本
    this value can correspond to the following constant:
    缩放.大小匹配Adapts the zoom of the Map control in order for all the markers to be visible at the same time.
    this value can correspond to the following constant:
    缩放.大小匹配Adapts the zoom of the Map control in order for all the markers to be visible at the same time.

WinDev For an Organization Chart control, this value corresponds to a percentage.

20版本和更高版本
WinDev For a Table, Treeview Table, Pivot Table, Spreadsheet or List Box control: this value corresponds to a percentage.
20新版本
WinDev For a Table, Treeview Table, Pivot Table, Spreadsheet or List Box control: this value corresponds to a percentage.
WinDev For a Table, Treeview Table, Pivot Table, Spreadsheet or List Box control: this value corresponds to a percentage.

注意
WinDevWindows用户代码(MCU)

Drawing functions, zoom and automatic scrollbars

The "Automatic scrollbars and zoom" option available for an image control is not compatible with 绘图开始. If this option is used on the Image control, the display performed by 绘图开始 is fixed in the control. The zoom is also fixed. The standard behavior is restored during the call to 绘图结束.

The same effect can be noticed with 绘图像素颜色 and 绘图旋转.

Limit

This property only applies to:
  • the Image controls with the "Automatic scrollbars and zoom" option.
17版本和更高版本
  • WinDev the Organization Chart controls.
17新版本
  • WinDev the Organization Chart controls.
  • WinDev the Organization Chart controls.
  • WinDev the Organization Chart controls.
  • WinDev the Map controls.
  • WinDev the Organization Chart controls.
  • 20版本和更高版本
    WinDev the Table, Treeview Table, Pivot Table, Spreadsheet or List Box control.
    20新版本
    WinDev the Table, Treeview Table, Pivot Table, Spreadsheet or List Box control.
    WinDev the Table, Treeview Table, Pivot Table, Spreadsheet or List Box control.