GetRemovedTextFromDocumentName

 

Gets the current value of the text that is removed automatically from the document name when printing. The Printer Driver will remove the given text from the filename of the output document when printing. If the filename does not contain the given text, the filename of the output document remains the original document name." The “Use the document name” file name generation method must be used. The text is case sensitive.

 

GetRemovedTextFromDocumentName (pDevMode As Long) As String

 

Input value pDevMode:

Handle to the BlackIceDEVMODE.

 

Return value:

The text that will be removed from the document name. The maximum length is 259 characters.

 

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