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
docFilePath
The file path of the PDF document that will be printed.
userData
User data provided in
-[PTPrint PrepareDocToPrint:Delegate:UserData:]
.