PopulateHeaderTemplate Method
The PopulateHeaderTemplate method populates the document page's header template with information from the specified worksheet.
Syntax
object.PopulateHeaderTemplate( pageIndex, worksheetFile )
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
| pageIndex | Variant | The 1-based index to the plot page list in the document. |
| worksheetFile | String | The worksheet file used to populate the header. |
Example
The following example demonstrates how to populate the header of the first page.
'Apply worksheet data to the page header
Plot.PopulateHeaderTemplate(1, "C:\Data\HeaderInfo.xlsx")
Used by: Document Object