ImageFileName Property

Filename and location to save the image content of a transaction or statement.

Object Oriented Interface

public function getImageFileName();
public function setImageFileName($value);

Procedural Interface

ipworksofx_invstatement_get($res, 29 );
ipworksofx_invstatement_set($res, 29, $value );

Default Value



When calling the GetImage method, the image content is returned by that method. If you want the image content to be written to disk, you can set the ImageFileName to a desired file name without specifying the type. The file type will be set automatically depending on the image type supported by the server. Possible image types are: jpeg, tiff, png, pdf.

If the filename exists, you can choose to overwrite it or not by setting the Overwrite config setting (which defaults to True).

Note: Image download is available only for OFX version 2.1.1. When this method is called, the OFXVersion is automatically set to '211'.

Data Type


Copyright (c) 2021 /n software inc. - All rights reserved.
IPWorks OFX 2020 PHP Edition - Version 20.0 [Build 7941]