...
Description |
---|
Excerpt |
---|
Returns or sets an NamedStyle object that represents the Style of this paragraph. |
Signature | ||||
---|---|---|---|---|
| ||||
<table class="diff-macro"><thead><tr><th class="diff-macro-title">unmigrated-wiki-markup</th></tr></thead><tbody><tr><td class="diff-macro-body"><pre> public NamedStyle Style{ get; set; } {signature}{signature:</pre></td></tr></tbody></table> |
Signature | ||||||
---|---|---|---|---|---|---|
| }
Public
| |||||
<p>Public Property Style() As NamedStyle {signature} {example}{code:csharp|title=C#}NamedStyle</p> |
Example |
---|
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
//--- Return NamedStyle
NamedStyle oNamedStyle = oParagraph.Style;
//--- Set NamedStyle
oParagraph.Style = oDocument.Styles[NamedStyle.BuiltIn.Heading1];
{code}
{code: |
Code Block | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| |title=
| }|||||||||
'--- Return NamedStyle
Dim oNamedStyle As NamedStyle = oParagraph.Style
'--- Set NamedStyle
oParagraph.Style = oDocument.Styles(NamedStyle.BuilIn.Heading1)
{code}
{example}
|
Example |
---|