'Declaration Public Sub ResetCenterElement()
'Usage Dim instance As HeaderFooter instance.ResetCenterElement()
public void ResetCenterElement()
'Declaration Public Sub ResetCenterElement()
'Usage Dim instance As HeaderFooter instance.ResetCenterElement()
public void ResetCenterElement()
Calling the ResetCenterElement method will set the CenterElement property to a null reference (Nothing in Visual Basic) causing a new HeaderFooterElement to be created when the CenterElement property is accessed.
The IsCenterElementDefined property should be consulted before the CenterElement property is accessed to prevent a new instance of a HeaderFooterElement from being created in the case where none of the properties of the CenterElement have been explicitly set.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2