# Image\_Size

此子句搭配 Info 前置詞或 Bundle 前置詞，可用來調整資料庫管理系統的影像大小，以便放入欄位中。

語法：

Bundle [Image\_Size(width,height )] ( loadstatement | selectstatement )

引數：

Image\_Size 引數

| 引數 | 描述 |
| --- | --- |
| width | 以像素為單位指定的影像寬度。 |
| height | 以像素為單位指定的影像高度。 |

範例：

資料夾中每個影像的縮圖 MyPictures 將會儲存在 QlikView 文件中。影像會保持其寬度和高度比例不變。

`for each vBundleExt in 'jpg', 'jpeg', 'jpe', 'png', 'jif', 'jfi'` `for each vBundleFoundFile in filelist( GetFolderPath('MyPictures') & '\*.'& vBundleExt )` `BundleFileList:` `BUNDLE IMAGE_SIZE(20, 20) Info Load FileLongName, FileLongName;` `Load @1:n as FileLongName Inline "$(vBundleFoundFile)"   (fix, no labels);` `Next vBundleFoundFile` `Next vBundleExt`

## 瞭解更多資訊

* [Info](https://help.qlik.com/zh-TW/qlikview/September2026/Subsystems/Client/Content/QV_QlikView/Scripting/ScriptPrefixes/Info.htm)
* [Bundle](https://help.qlik.com/zh-TW/qlikview/September2026/Subsystems/Client/Content/QV_QlikView/Scripting/ScriptPrefixes/Bundle.htm)
* 