PTV Visum - Frequently Asked Questions (FAQs)
(#VIS25690)
Wie kann ich über COM eine Kopf- und Fußzeile festlegen und den Netzwerkeditor zu einer PDF-Datei drucken?
- Verwenden Sie die Klasse Visum.Net.PrintParameters.PrintFrame.Footer:
Beispielkode:
Dim myPrintFrameFooter As VISUMLIB.IPrintFrameFooter
Dim myPrintFrameFooterCell As VISUMLIB.IPrintFrameFooterCell
Set myPrintFrameFooter = Visum.Net.PrintParameters.PrintFrame.Footer
myPrintFrameFooter.AttValue('TextSize') = 6
Set myPrintFrameFooterCell = Visum.Net.PrintParameters.PrintFrame.Footer.Columns.Item(1).Rows.Item(1)
myPrintFrameFooterCell.AttValue('UserDefinedText') = 'any userdefined string combination'
- Ändern Sie den Standarddrucker zu einem PDF-Drucker:
Komplettes Beispiel:
http://vision-traffic.ptvgroup.com/faq-files/PTV_COM_PrintToPDF.ZIP