| FileHandlerExtensionBeforeAddToPrintList Method |
Pre notifies when a file is added to the print list
Namespace: CTExtensions.InterfacesAssembly: CTInterface (in CTInterface.dll)
Syntax public 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