const headerFooterElementInfo = {
fontSize: 12,
underLine: true,
embed: true,
fontName: 'Arial',
textColor: '#00FF00',
top: 0,
left: 0,
bottom: 0,
right: 0,
shrink: true,
fixedPrint: true,
headerLeftText: 'headerLeftText',
headerRightText: 'headerRightText',
headerCenterText: 'headerCenterText',
footerLeftText: 'footerLeftText',
footerRightText: 'footerRightText',
footerCenterText: 'footerCenterText',
start: 0,
end: 0,
even: true,
odd: true,
specifyHeaderFooterDicValue: ''
};
interface HeaderFooterElementInfoType {
    bottom?: number;
    embed?: boolean;
    end?: number;
    even?: boolean;
    fixedPrint?: boolean;
    fontName?: string;
    fontSize?: number;
    footerCenterText?: string;
    footerLeftText?: string;
    footerRightText?: string;
    headerCenterText?: string;
    headerLeftText?: string;
    headerRightText?: string;
    left?: number;
    odd?: boolean;
    right?: number;
    shrink?: boolean;
    specifyHeaderFooterDicValue?: string;
    start?: number;
    textColor?: number;
    top?: number;
    underLine?: boolean;
}

Properties

bottom?: number

Bottom position.

embed?: boolean

Whether it is embedded.

end?: number

End position.

even?: boolean

Whether it is specific to even pages.

fixedPrint?: boolean

Whether to print fixed.

fontName?: string

Font name.

fontSize?: number

Font size.

footerCenterText?: string

Center text in the footer.

footerLeftText?: string

Left text in the footer.

footerRightText?: string

Right text in the footer.

headerCenterText?: string

Center text in the header.

headerLeftText?: string

Left text in the header.

headerRightText?: string

Right text in the header.

left?: number

Left position.

odd?: boolean

Whether it is specific to odd pages.

right?: number

Right position.

shrink?: boolean

Whether to shrink to fit.

specifyHeaderFooterDicValue?: string

Specifies the dictionary value for the header or footer.

start?: number

Start position.

textColor?: number

Text color.

top?: number

Top position.

underLine?: boolean

Whether there is an underline.