PTPrintDelegate
@protocol PTPrintDelegate <NSObject>
Tells the delegate when the PDF is prepared for printing after a call to a PTPrint
instance’s -[PTPrint PrepareDocToPrint:Delegate:UserData:]
method.
-
Selector called by
-[PTPrint PrepareDocToPrint:Delegate:UserData:]
when the document has been prepared for printing.Declaration
Objective-C
- (void)PreparedToPrint:(NSString *)docFilePath UserData:(id)userData;
Swift
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:]
.