 | FileHandlerExtensionBeforeAddToPrintList Method |
Pre notifies when a file is added to the print list
Namespace:
CTExtensions.Interfaces
Assembly:
CTInterface (in CTInterface.dll)
Syntaxpublic virtual bool BeforeAddToPrintList(
string bsFileName,
string bsConfiguration,
ref bool pbCancel
)
Public Overridable Function BeforeAddToPrintList (
bsFileName As String,
bsConfiguration As String,
ByRef pbCancel As Boolean
) As Boolean
Parameters
- bsFileName
- Type: SystemString
File to be added - bsConfiguration
- Type: SystemString
Configuration name - pbCancel
- Type: SystemBoolean
Return true and set this to true if you wish to prevent adding the file.
Return Value
Type:
BooleanReturn true if you handled this and want pbCancel to have effect
See Also