Compartilhar via


RunPropertiesBaseStyle Class

Run Properties.When the object is serialized out as xml, its qualified name is w:rPr.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Wordprocessing.RunPropertiesBaseStyle

Namespace:  DocumentFormat.OpenXml.Wordprocessing
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
<ChildElementInfoAttribute(GetType(Caps))> _
<ChildElementInfoAttribute(GetType(WebHidden))> _
<ChildElementInfoAttribute(GetType(SpecVanish))> _
<ChildElementInfoAttribute(GetType(Bold))> _
<ChildElementInfoAttribute(GetType(BoldComplexScript))> _
<ChildElementInfoAttribute(GetType(Italic))> _
<ChildElementInfoAttribute(GetType(ItalicComplexScript))> _
<ChildElementInfoAttribute(GetType(SmallCaps))> _
<ChildElementInfoAttribute(GetType(Strike))> _
<ChildElementInfoAttribute(GetType(DoubleStrike))> _
<ChildElementInfoAttribute(GetType(Outline))> _
<ChildElementInfoAttribute(GetType(Shadow))> _
<ChildElementInfoAttribute(GetType(Emboss))> _
<ChildElementInfoAttribute(GetType(Imprint))> _
<ChildElementInfoAttribute(GetType(NoProof))> _
<ChildElementInfoAttribute(GetType(SnapToGrid))> _
<ChildElementInfoAttribute(GetType(Vanish))> _
<ChildElementInfoAttribute(GetType(RunFonts))> _
<ChildElementInfoAttribute(GetType(Color))> _
<ChildElementInfoAttribute(GetType(Spacing))> _
<ChildElementInfoAttribute(GetType(CharacterScale))> _
<ChildElementInfoAttribute(GetType(Kern))> _
<ChildElementInfoAttribute(GetType(Position))> _
<ChildElementInfoAttribute(GetType(FontSize))> _
<ChildElementInfoAttribute(GetType(FontSizeComplexScript))> _
<ChildElementInfoAttribute(GetType(Underline))> _
<ChildElementInfoAttribute(GetType(TextEffect))> _
<ChildElementInfoAttribute(GetType(Border))> _
<ChildElementInfoAttribute(GetType(Shading))> _
<ChildElementInfoAttribute(GetType(FitText))> _
<ChildElementInfoAttribute(GetType(VerticalTextAlignment))> _
<ChildElementInfoAttribute(GetType(Emphasis))> _
<ChildElementInfoAttribute(GetType(Languages))> _
<ChildElementInfoAttribute(GetType(EastAsianLayout))> _
Public Class RunPropertiesBaseStyle _
    Inherits OpenXmlCompositeElement
'Usage
Dim instance As RunPropertiesBaseStyle
[ChildElementInfoAttribute(typeof(Caps))]
[ChildElementInfoAttribute(typeof(WebHidden))]
[ChildElementInfoAttribute(typeof(SpecVanish))]
[ChildElementInfoAttribute(typeof(Bold))]
[ChildElementInfoAttribute(typeof(BoldComplexScript))]
[ChildElementInfoAttribute(typeof(Italic))]
[ChildElementInfoAttribute(typeof(ItalicComplexScript))]
[ChildElementInfoAttribute(typeof(SmallCaps))]
[ChildElementInfoAttribute(typeof(Strike))]
[ChildElementInfoAttribute(typeof(DoubleStrike))]
[ChildElementInfoAttribute(typeof(Outline))]
[ChildElementInfoAttribute(typeof(Shadow))]
[ChildElementInfoAttribute(typeof(Emboss))]
[ChildElementInfoAttribute(typeof(Imprint))]
[ChildElementInfoAttribute(typeof(NoProof))]
[ChildElementInfoAttribute(typeof(SnapToGrid))]
[ChildElementInfoAttribute(typeof(Vanish))]
[ChildElementInfoAttribute(typeof(RunFonts))]
[ChildElementInfoAttribute(typeof(Color))]
[ChildElementInfoAttribute(typeof(Spacing))]
[ChildElementInfoAttribute(typeof(CharacterScale))]
[ChildElementInfoAttribute(typeof(Kern))]
[ChildElementInfoAttribute(typeof(Position))]
[ChildElementInfoAttribute(typeof(FontSize))]
[ChildElementInfoAttribute(typeof(FontSizeComplexScript))]
[ChildElementInfoAttribute(typeof(Underline))]
[ChildElementInfoAttribute(typeof(TextEffect))]
[ChildElementInfoAttribute(typeof(Border))]
[ChildElementInfoAttribute(typeof(Shading))]
[ChildElementInfoAttribute(typeof(FitText))]
[ChildElementInfoAttribute(typeof(VerticalTextAlignment))]
[ChildElementInfoAttribute(typeof(Emphasis))]
[ChildElementInfoAttribute(typeof(Languages))]
[ChildElementInfoAttribute(typeof(EastAsianLayout))]
public class RunPropertiesBaseStyle : OpenXmlCompositeElement

Remarks

The following table lists the possible child types:

  • RunFonts <w:rFonts>

  • Bold <w:b>

  • BoldComplexScript <w:bCs>

  • Italic <w:i>

  • ItalicComplexScript <w:iCs>

  • Caps <w:caps>

  • SmallCaps <w:smallCaps>

  • Strike <w:strike>

  • DoubleStrike <w:dstrike>

  • Outline <w:outline>

  • Shadow <w:shadow>

  • Emboss <w:emboss>

  • Imprint <w:imprint>

  • NoProof <w:noProof>

  • SnapToGrid <w:snapToGrid>

  • Vanish <w:vanish>

  • WebHidden <w:webHidden>

  • Color <w:color>

  • Spacing <w:spacing>

  • CharacterScale <w:w>

  • Kern <w:kern>

  • Position <w:position>

  • FontSize <w:sz>

  • FontSizeComplexScript <w:szCs>

  • Underline <w:u>

  • TextEffect <w:effect>

  • Border <w:bdr>

  • Shading <w:shd>

  • FitText <w:fitText>

  • VerticalTextAlignment <w:vertAlign>

  • Emphasis <w:em>

  • Languages <w:lang>

  • EastAsianLayout <w:eastAsianLayout>

  • SpecVanish <w:specVanish>

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

RunPropertiesBaseStyle Members

DocumentFormat.OpenXml.Wordprocessing Namespace