HeaderFooter-Klasse
Header and Footer.When the object is serialized out as xml, its qualified name is c:headerFooter.
Vererbungshierarchie
System.Object
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlCompositeElement
DocumentFormat.OpenXml.Drawing.Charts.HeaderFooter
Namespace: DocumentFormat.OpenXml.Drawing.Charts
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'Declaration
<ChildElementInfoAttribute(GetType(FirstFooter))> _
<ChildElementInfoAttribute(GetType(OddFooter))> _
<ChildElementInfoAttribute(GetType(EvenHeader))> _
<ChildElementInfoAttribute(GetType(EvenFooter))> _
<ChildElementInfoAttribute(GetType(FirstHeader))> _
<ChildElementInfoAttribute(GetType(OddHeader))> _
Public Class HeaderFooter _
Inherits OpenXmlCompositeElement
'Usage
Dim instance As HeaderFooter
[ChildElementInfoAttribute(typeof(FirstFooter))]
[ChildElementInfoAttribute(typeof(OddFooter))]
[ChildElementInfoAttribute(typeof(EvenHeader))]
[ChildElementInfoAttribute(typeof(EvenFooter))]
[ChildElementInfoAttribute(typeof(FirstHeader))]
[ChildElementInfoAttribute(typeof(OddHeader))]
public class HeaderFooter : OpenXmlCompositeElement
Hinweise
The following table lists the possible child types:
OddHeader <c:oddHeader>
OddFooter <c:oddFooter>
EvenHeader <c:evenHeader>
EvenFooter <c:evenFooter>
FirstHeader <c:firstHeader>
FirstFooter <c:firstFooter>
[ISO/IEC 29500-1 1. Ausgabe]
21.2.2.79 headerFooter (Header and Footer)
This element specifies the headers and footers that shall be used when the chart is printed.
Parent Elements |
---|
printSettings (§21.2.2.148) |
Child Elements |
Subclause |
---|---|
evenFooter (Even Footer) |
§21.2.2.59 |
evenHeader (Even Header) |
§21.2.2.60 |
firstFooter (First Footer) |
§21.2.2.66 |
firstHeader (First Header) |
§21.2.2.67 |
oddFooter (Odd Footer) |
§21.2.2.124 |
oddHeader (Odd Header) |
§21.2.2.125 |
Attributes |
Description |
---|---|
alignWithMargins (Align With Margins) |
Specifies the header and footer should align with the left and right margins of the chart. A value of 1 or true specifies that the property is applied. This is the default value for this attribute, and is implied when the parent element is present, but this attribute is omitted. A value of 0 or false specifies that the property is not applied. The possible values for this attribute are defined by the W3C XML Schema boolean datatype. |
differentFirst (Different First) |
Specifies the header and footer are different for the first page. A value of 1 or true specifies that the property is applied. This is the default value for this attribute, and is implied when the parent element is present, but this attribute is omitted. A value of 0 or false specifies that the property is not applied. The possible values for this attribute are defined by the W3C XML Schema boolean datatype. |
differentOddEven (Different Odd Even) |
Specifies the header and footer are different on odd-numbered pages and even-numbered pages. A value of 1 or true specifies that the property is applied. This is the default value for this attribute, and is implied when the parent element is present, but this attribute is omitted. A value of 0 or false specifies that the property is not applied. The possible values for this attribute are defined by the W3C XML Schema boolean datatype. |
[Note: The W3C XML Schema definition of this element's content model (CT_HeaderFooter) is located in §A.5.1. end note]
© ISO/IEC29500: 2008. Die oben aufgeführten Textauszüge wurden von Microsoft (und/oder den Microsoft-Vendoren) von Englisch nach Deutsch übersetzt, und im Rahmen von ISO wird keinerlei Verantwortung für diese Übersetzungen übernommen.
Threadsicherheit
Alle öffentlichen static (Shared in Visual Basic) Member dieses Typs sind threadsicher. Bei Instanzmembern ist die Threadsicherheit nicht gewährleistet.