Returns or sets an NamedStyle object that represents the Style of this paragraph. |
<table class="wysiwyg-macro" data-macro-name="unmigrated-wiki-markup" style="background-image: url(/plugins/servlet/confluence/placeholder/macro-heading?definition=e3VubWlncmF0ZWQtd2lraS1tYXJrdXB9&locale=en_GB&version=2); background-repeat: no-repeat;" data-macro-body-type="PLAIN_TEXT"><tr><td class="wysiwyg-macro-body"><pre> public NamedStyle Style{ get; set; } </pre></td></tr></table> |
<p>Public Property Style() As NamedStyle</p> |
//--- 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) |