Returns or sets an NamedStyle object that represents the Style of this paragraph. |
public NamedStyle Style{ get; set; } |
Public Property Style() As NamedStyle |
//--- Return NamedStyle NamedStyle oNamedStyle = oParagraph.Style; //--- Set NamedStyle oParagraph.Style = oDocument.Styles[NamedStyle.BuiltIn.Heading1]; |
'--- Return NamedStyle Dim oNamedStyle As NamedStyle = oParagraph.Style '--- Set NamedStyle oParagraph.Style = oDocument.Styles(NamedStyle.BuilIn.Heading1) |