SetFileGenerationMethod

Sets the FileNameGenerationFlags member of the BlackIceDEVMODE. Sets the value of the 'File Name Generation Method' combo box.

 

SetFileGenerationMethod(fnamegen As Long, pBlackIceDEVMODE As Long) As Boolean

 

Input value: fnamegen                                - File Name Generation Method

 

Use this prefix and extension

0

Prefix and extension from the registry

1

Prefix and extension from INI file

2

Exact filename

3

Exact Filename from registry

4

Exact Filename from INI

5

Use document’s name

6

Custom file naming

7

Use the document name with the output directory from the INI file

8

Use filename from page content

9

 

Input value: pBlackIceDEVMODE - handle to the BlackIceDEVMODE.

Return value - TRUE if the member was successfully set, otherwise FALSE.

 

NOTE: For 32-bit applications , use pBlackIceDEVMODE as Integer, instead of Long.