PDFPrintManagerRegisterForPrintingContract Method |
Registers the current print contract for the current view and provides the document to be
printed. This method should be called every time a new document is displayed so that the
name can be updated. The name will appear in the system print job window, as well as be used
for the file name by virtual printer drivers. You do not need to call
UnRegisterForPrintingContract()
when re-registering.
Namespace:
pdftron.PDF
Assembly:
pdftron (in pdftron.dll) Version: 255.255.255.255
Syntax public void RegisterForPrintingContract(
PDFDoc doc,
string documentName
)
Public Sub RegisterForPrintingContract (
doc As PDFDoc,
documentName As String
)
public:
virtual void RegisterForPrintingContract(
[InAttribute] PDFDoc^ doc,
[InAttribute] String^ documentName
) sealed
function RegisterForPrintingContract(doc, documentName);
Parameters
- doc
- Type: pdftron.PDFPDFDoc
The document to be printed.
- documentName
- Type: SystemString
The name of the document to be printed.
See Also