Description |
---|
Excerpt |
---|
Represents a paragraph in the Word document. Technically, a paragraph is a block of text that ends with a carriage return. |
Signature | C# | C# | |
---|---|---|---|
Wiki Markup | |||
{description}
{excerpt}Represents a paragraph in the Word document. Technically, a paragraph is a block of text that ends with a carriage return.{excerpt}
{signature:C#}
public class Paragraph : Element
| |||
Signature | |||
{signature}{signature:vb.net | vb.net | }
Public Class Paragraph
Inherits Element
| |
Remarks | |||
To create a new paragraph, use {signature} {remarks}To create a new paragraph, use [Element.InsertParagraphBefore()|Element.InsertParagraphBefore] or [Element.InsertParagraphAfter()|Element.InsertParagraphAfter]. Each of these methods take a single argument of type [NamedStyle|NamedStyle]. This argument can be null. If it is null, the Normal style is used. This method can be called from the [Document|Document] object because {{Document}} inherits from the [Element|Element] class. | |||
Example | |||
Code Block | | csharp | csharp |
title | C# | ||
Code Block | vb.net | title |
Properties |
---|
...
Name
...
Description
...
...
{code} {example} {properties} ||Name||Description|| |[Formatting|Paragraph.Formatting]|{excerpt-include:Paragraph.Formatting |
...
|nopanel=true}| |[Style|Paragraph.Style]|{excerpt-include |
...
:Paragraph.Style |
...
|nopanel=true}| |