Image_Size

This clause is used with the Info prefix or the Bundle prefix to resize images from a database management system to fit in the fields.

Syntax:

Bundle [Image_Size(width,height )] ( loadstatement | selectstatement )

Arguments:  

Argument Description
width The width of the image specified in pixels.
height The height of the image specified in pixels.

Example:  

A thumbnail for each image in the folder MyPictures will be stored in the QlikView document. The images keep their width and height ratio.

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

See also:

 

Did this information help you?

Thanks for letting us know. Is there anything you'd like to tell us about this topic?

Can you tell us why it did not help you and how we can improve it?