ClearPageHeaderFooterSet

Page layout, Pagination

Description

Removes every header and footer variant stored under one case-insensitive set name

Syntax

Delphi

Function TPDFlib.ClearPageHeaderFooterSet(Const SetName: WideString): Integer;

ActiveX

Function PDFlib::ClearPageHeaderFooterSet(SetName As String) As Long

DLL

int DLClearPageHeaderFooterSet(int InstanceID, const wchar_t* SetName);
int DLClearPageHeaderFooterSetA(int InstanceID, const char* SetName);

Parameters

SetNameCase-insensitive name of the reusable set to remove

Return values

Returns the number of variant records removed, or 0 when the name is empty or the set does not exist

Remarks

Content already drawn by ApplyPageHeaderFooterSet remains in its page content streams