Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click '这一句不起作用
Me.TextControl1.HeadersAndFooters.Remove(TXTextControl.HeaderFooterType.FirstPageHeader)
'这一句可以
'Me.TextControl1.HeadersAndFooters.Remove(TXTextControl.HeaderFooterType.Header)
End Sub
|