BIAPSetStringProperty

 

#include "BiAutoPrint.h"

 

BOOL BIAPSetStringProperty(LPCTSTR szProperty, LPCTSTR szValue);

 

Description

This function can be used to configure various settings of Auto-print.

The function must be used after the BIAPInitialize function has been called. The INI file is read during initialization. This function will change the settings for the current Auto-print instance, for the current thread. It will not change the INI file.

Currently the following settings can be changed using this function:

 

Property

(Set the szProperty parameter to this value to set the property)

Description

Default value

INI file key used to configure the same setting

“PDFSettings.FoxitReaderPath”

Sets the path to FoxitReader.exe

In BiAutoPrint64.dll:

"C:\Program Files(x86)\Foxit Software\Foxit Reader\FoxitReader.exe"

In BiAutoPrint32.dll:

"C:\Program Files\Foxit Software\Foxit Reader\FoxitReader.exe"

[PDF Settings]

Foxit Reader Path=

 

Parameters

Input value: szProperty 

- The property to configure, see the “Property” column in the table above for the possible properties.

Input value: szValue         

- The new value of the property.

 

Return value

TRUE on success, otherwise FALSE.

 

Requirements

Header:

BiAutoPrint.h

Library:

BiAutoPrint32.lib (for 32 bit)

BiAutoPrint64.lib (for 64 bit)

DLL:

BiAutoPrint32.dll (for 32 bit)

BiAutoPrint64.dll (for 64 bit)