Skip to main content
Skip table of contents

f$BitmapGetSize


f$BitmapGetSize

Read the dimensions of an image.

This function can be used independent of the other commands for image manipulation.

The allowed image formats are Windows bitmap (.bmp), Portable Network Graphics (.png), Tagged Image File Format (.tif) or JPEG (.jpg).

Please note that, when entering a path in the file name, the character "\" must be entered twice ("\\").

Syntax:

Status = f$BitmapGetSize (Name, NameWidth, NameHeight)

German status = f$BitmapGroesseLesen (Name, NameBreite, NameHoehe)

 

Argument

Type

Meaning

 

Name

String

Name of the image to be inserted including path.

 

NameWidth

String

Name of the ePOS parameter on which the width of the image is written. If the image does not exist, 0 is written.

 

NameHeight

String

Name of the ePOS parameter on which the height of the image is written. If the image does not exist, 0 is written.

Result:

Integer

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.