BCL easyPDF SDK
easyPDF SDK Usermanual
PDF Creator Programming API  |  Download Free Trial  |  Contact Us to Purchase

Header Property

Sets header string.

Type

String

Remarks

This property modifies Internet Explorer's header setting. For the supported header command, refer to Internet Explorer help.

Example Usage

' VB Sample Code

Set oPrinter = CreateObject("easyPDF.Printer.8")

Set oPrintJob = oPrinter.IEPrintJob

' Remove IE's default header

oPrintJob.Header = ""

oPrintJob.PrintOut "C:\test\input.htm", "C:\test\output.pdf"


//C# Sample Code

PrinterClass printerObj = new PrinterClass();

IEPrintJob printJobObj = printerObj.IEPrintJob;

printJobObj.Header = "&w&bPage &p of &P";

printJobObj.PrintOut("http://www.pdfonline.com/", @"C:\test\output.pdf");