BIAPGetStringProperty

 

#include "BiAutoPrint.h"

 

BOOL BIAPGetStringProperty(LPCTSTR szProperty, LPTSTR szValue, DWORD* dwLength);

 

Description

This function can be used to get the current values of the various settings of Auto-print.

The function must be used after the BIAPInitialize function has been called.

Currently the following settings are available:

 

Property

(Set the szProperty parameter to this value to get the value of 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 retrieve, see the “Property” column in the table above for the possible properties.

Input value: szValue         

- This variable will receive the current value of the property.

Input/Output dwLength     

- The length of the buffer passed to szValue in characters. If the buffer is too small to store the value, the function will set this variable to the required buffer size.

 

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)