Wiki Markup |
---|
{description} {excerpt}Returns or sets an [NamedStyle|NamedStyle] object that represents the Style of this paragraph.{excerpt} {signature:C#} public NamedStyle Style{ get; set; } {signature}{signature:vb.net} Public Property Style() As NamedStyle {signature} {example}{code:csharp|title=C#} //--- Return NamedStyle NamedStyle oNamedStyle = oParagraph.Style; //--- Set NamedStyle oParagraph.Style = oDocument.Styles[NamedStyle.BuiltIn.Heading1]; {code} {code:vb.net|title=vb.net} '--- Return NamedStyle Dim oNamedStyle As NamedStyle = oParagraph.Style '--- Set NamedStyle oParagraph.Style = oDocument.Styles(NamedStyle.BuilIn.Heading1) {code} {example} |
Page History
Overview
Content Tools