PTPrintDelegate
@protocol PTPrintDelegate <NSObject>
The delegate for PTPrint operations.
-
Selector called by
-[PTPrint PrepareDocToPrint:Delegate:UserData:]when the document has been prepared for printing.Declaration
Objective-C
- (void)PreparedToPrint:(nonnull NSString *)docFilePath UserData:(nonnull id)userData;Swift
optional func prepared(toPrint docFilePath: String, userData: Any)Parameters
docFilePathThe file path of the PDF document that will be printed.
userDataUser data provided in
-[PTPrint PrepareDocToPrint:Delegate:UserData:].
PTPrintDelegate Protocol Reference