Sets a value specifying whether the header or footer is connected with the header or footer of the previous section. If headers or footers are connected, they have always the same contents.

<void> HeaderFooter.setConnectedToPrevious(<boolean> connectedToPrevious, [<EmptyRequestCallback> callback], [<ErrorCallback> errorCallback])

Parameters

Parameter Description
connectedToPrevious Specifies whether the header or footer is connected with the header or footer of the previous section.
callback Optional. Is called when the operation completed.
errorCallback Optional. Is called when the operation failed with an error.