Print method |
[Top] [Chapter] [Previous] [Next] |
Applies to Declaration function Print: Integer; Description Use this method to print the contents of editor #1. This is the the same as using PDFCreator.Print(); VB6 Note: If you are using VB6 you cannot use this method since Visual basic overrides this name with special functionality.
You need to use RTF2PDF.ExecIntCommand 1305, 0 instead. Example: Dim Memo As IWPEditor ' TextDynamic uses IWPMemo. PDFControl1.StartEngine "S:\S\wPDFControl\wPDFControlDemo.dll", "lic", "lic", 0 Set Memo = PDFControl1.Memo Memo.LoadFromFile "sometext.rtf", False, "AUTO" ' Create PDF File PDFControl1.BeginDoc "new2.pdf", 0 ' We cannot call "Print" in VB6 PDFControl1.ExecIntCommand 1305, 0 PDFControl1.EndDoc |