StyleRunProperties 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.StyleRunProperties
Namespace: DocumentFormat.OpenXml.Wordprocessing
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'Declaration
<ChildElementInfoAttribute(GetType(RunFonts))> _
<ChildElementInfoAttribute(GetType(Shading))> _
<ChildElementInfoAttribute(GetType(FitText))> _
<ChildElementInfoAttribute(GetType(FontSizeComplexScript))> _
<ChildElementInfoAttribute(GetType(Position))> _
<ChildElementInfoAttribute(GetType(Italic))> _
<ChildElementInfoAttribute(GetType(ItalicComplexScript))> _
<ChildElementInfoAttribute(GetType(Caps))> _
<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(WebHidden))> _
<ChildElementInfoAttribute(GetType(Color))> _
<ChildElementInfoAttribute(GetType(Spacing))> _
<ChildElementInfoAttribute(GetType(CharacterScale))> _
<ChildElementInfoAttribute(GetType(Kern))> _
<ChildElementInfoAttribute(GetType(BoldComplexScript))> _
<ChildElementInfoAttribute(GetType(FontSize))> _
<ChildElementInfoAttribute(GetType(Bold))> _
<ChildElementInfoAttribute(GetType(Underline))> _
<ChildElementInfoAttribute(GetType(TextEffect))> _
<ChildElementInfoAttribute(GetType(Border))> _
<ChildElementInfoAttribute(GetType(VerticalTextAlignment))> _
<ChildElementInfoAttribute(GetType(Emphasis))> _
<ChildElementInfoAttribute(GetType(Languages))> _
<ChildElementInfoAttribute(GetType(EastAsianLayout))> _
<ChildElementInfoAttribute(GetType(SpecVanish))> _
<ChildElementInfoAttribute(GetType(RunPropertiesChange))> _
Public Class StyleRunProperties _
Inherits OpenXmlCompositeElement
'Usage
Dim instance As StyleRunProperties
[ChildElementInfoAttribute(typeof(RunFonts))]
[ChildElementInfoAttribute(typeof(Shading))]
[ChildElementInfoAttribute(typeof(FitText))]
[ChildElementInfoAttribute(typeof(FontSizeComplexScript))]
[ChildElementInfoAttribute(typeof(Position))]
[ChildElementInfoAttribute(typeof(Italic))]
[ChildElementInfoAttribute(typeof(ItalicComplexScript))]
[ChildElementInfoAttribute(typeof(Caps))]
[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(WebHidden))]
[ChildElementInfoAttribute(typeof(Color))]
[ChildElementInfoAttribute(typeof(Spacing))]
[ChildElementInfoAttribute(typeof(CharacterScale))]
[ChildElementInfoAttribute(typeof(Kern))]
[ChildElementInfoAttribute(typeof(BoldComplexScript))]
[ChildElementInfoAttribute(typeof(FontSize))]
[ChildElementInfoAttribute(typeof(Bold))]
[ChildElementInfoAttribute(typeof(Underline))]
[ChildElementInfoAttribute(typeof(TextEffect))]
[ChildElementInfoAttribute(typeof(Border))]
[ChildElementInfoAttribute(typeof(VerticalTextAlignment))]
[ChildElementInfoAttribute(typeof(Emphasis))]
[ChildElementInfoAttribute(typeof(Languages))]
[ChildElementInfoAttribute(typeof(EastAsianLayout))]
[ChildElementInfoAttribute(typeof(SpecVanish))]
[ChildElementInfoAttribute(typeof(RunPropertiesChange))]
public class StyleRunProperties : 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>
RunPropertiesChange <w:rPrChange>
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.