Removes a header or footer from the document or from a certain section.

<void> HeaderFooterCollection.remove(<HeaderFooterType> headerFooterType, [<RequestBooleanCallback> callback], [<ErrorCallback> errorCallback])


Parameter Description
headerFooterType Specifies the headers and/or footers to remove.
callback Optional. Receives true, if the header or footer could be removed. Otherwise it is false.
errorCallback Optional. Is called when the operation failed with an error.