Font Properties

Include Protected Members
Include Inherited Members

The Font type exposes the following members.

Properties

  Name Description
Public property Bold Bold.Represents the element tag in schema: x:b
Public property ChildElements Gets all the child nodes of this element. (Inherited from OpenXmlElement.)
Public property Color Text Color.Represents the element tag in schema: x:color
Public property Condense Condense.Represents the element tag in schema: x:condense
Public property Extend Extend.Represents the element tag in schema: x:extend
Public property ExtendedAttributes Gets all extended attributes (attributes not defined in schema) of the element. (Inherited from OpenXmlElement.)
Public property FirstChild Gets the first child of the OpenXmlElement. If there is no such OpenXmlElement, a null reference (Nothing in Visual Basic) is returned. (Inherited from OpenXmlCompositeElement.)
Public property FontCharSet Character Set.Represents the element tag in schema: x:charset
Public property FontFamilyNumbering Font Family.Represents the element tag in schema: x:family
Public property FontName Font Name.Represents the element tag in schema: x:name
Public property FontScheme Scheme.Represents the element tag in schema: x:scheme
Public property FontSize Font Size.Represents the element tag in schema: x:sz
Public property HasAttributes Gets a boolean value indicating whether the current element has any attributes. (Inherited from OpenXmlElement.)
Public property HasChildren Gets a value indicating whether this element has any child elements. (Inherited from OpenXmlCompositeElement.)
Public property InnerText Gets or sets the concatenated values of the node and all its children. (Inherited from OpenXmlCompositeElement.)
Public property InnerXml Gets or sets the markup representing only the child nodes of this node. (Inherited from OpenXmlCompositeElement.)
Public property Italic Italic.Represents the element tag in schema: x:i
Public property LastChild Gets the last child of the OpenXmlElement. If there is no such OpenXmlElement, a null reference (Nothing in Visual Basic) is returned. (Inherited from OpenXmlCompositeElement.)
Public property LocalName Gets the local name of the element. (Overrides OpenXmlElement.LocalName.)
Public property MCAttributes Markup Compatibility Attributes Set. Return null if there is no Markup Compatibility Attribute defined in this element. (Inherited from OpenXmlElement.)
Public property NamespaceDeclarations Gets all the namespace declarations defined in the current element. Return an empty enumerator if there is no namespace declaration. (Inherited from OpenXmlElement.)
Public property NamespaceUri Gets the namespace URI of this node. (Inherited from OpenXmlElement.)
Public property OpenXmlElementContext Gets the OpenXmlEementContext. (Inherited from OpenXmlElement.)
Public property OuterXml Gets the markup representing this element and all its child elements. (Inherited from OpenXmlElement.)
Public property Outline Outline.Represents the element tag in schema: x:outline
Public property Parent Gets the parent of this element. (Inherited from OpenXmlElement.)
Public property Prefix Gets the namespace prefix of this node. (Inherited from OpenXmlElement.)
Public property Shadow Shadow.Represents the element tag in schema: x:shadow
Public property Strike Strike Through.Represents the element tag in schema: x:strike
Public property Underline Underline.Represents the element tag in schema: x:u
Public property VerticalTextAlignment Text Vertical Alignment.Represents the element tag in schema: x:vertAlign
Public property XmlQualifiedName Gets the qualified name of the node. (Inherited from OpenXmlElement.)

Top

See Also

Reference

Font Class

DocumentFormat.OpenXml.Spreadsheet Namespace