This method starts a print job.
[Visual Basic] [ Boolean
=
]imagekitcontrolname.PrintDraw.PrintStartDoc
[Visual C++] [
BOOL =
]imagekitcontrolname.GetPrintDraw().PrintStartDoc()
Parameters
None
Return Value
Returns True (nonzero) if successful. Returns False (0) if unsuccessful.
Explanation
The PrintStartDoc method starts the print job. This method should be used with the PrintStartPage, PrintEndPage, and PrintEndDoc methods. If the Caption, ButtonName, or Message properties are not set, the Cancel Printing dialog box will not be displayed. Please refer to the sample code in the PrintCreateDC and PrintDialog methods.