Instance Method

initWithBundle:

Initializes the plug-in.

Declaration

- (BOOL)initWithBundle:(NSBundle *)theBundle;

Parameters

theBundle

The plug-in bundle.

Return Value

YES if initialization succeeded; otherwise, NO.

Discussion

In this required method, you can perform PDE initialization tasks when the user displays the Page Setup or Print dialog and the PDE is being loaded. For example, you could retain the PDE bundle for later use.

If you return NO or do not implement this method, the printing system does not load the PDE and send it the PDEPanelsForType:withHostInfo: message.