TextFormat

Fields describing the formatting and placement of object text when displayed in a graphical application

Element Information

Model

Source

<xs:element name="TextFormat" minOccurs="0">
  <xs:annotation>
    <xs:documentation>Fields describing the formatting and placement of object text when displayed in a graphical application</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:sequence>
      <xs:element name="FontType" type="xs:string" minOccurs="0"/>
      <xs:element name="FontSize" type="xs:long" minOccurs="0"/>
      <xs:element name="TextColor" type="xs:string" minOccurs="0"/>
      <xs:element name="TextStyle" type="xs:string" minOccurs="0"/>
      <xs:element name="Justification" minOccurs="0">
        <xs:simpleType>
          <xs:restriction base="xs:string">
            <xs:enumeration value="Left"/>
            <xs:enumeration value="Right"/>
            <xs:enumeration value="Center"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:element>
      <xs:element name="VAlignment" minOccurs="0">
        <xs:simpleType>
          <xs:restriction base="xs:string">
            <xs:enumeration value="Top"/>
            <xs:enumeration value="Middle"/>
            <xs:enumeration value="Bottom"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:element>
      <xs:element name="X_Anchor" type="xs:long" minOccurs="0"/>
      <xs:element name="Y_Anchor" type="xs:long" minOccurs="0"/>
      <xs:element name="TextRotate" type="xs:long" minOccurs="0"/>
    </xs:sequence>
  </xs:complexType>
</xs:element>

Sample