Signature:
public Paragraph InsertParagraphAfter ( NamedStyle style
)
Description:
Creates and returns a Paragraph object that represents a new empty paragraph at the end of this Element. The paragraph that is inserted will have the style specified. If this Element is in the middle of a paragraph, the containing paragraph will be split.
Parameters:
|
style |
A Style object representing the base style of this paragraph. The base style also affects the character style of any text added to this paragraph. If this is null, the style will be "Normal". |
Returns:
Paragraph
A
Paragraph object that represents a new empty paragraph at the beginning of this Element. Even though the paragraph is empty there will always be at least a single carriage return.
Examples:
[csharp]
Paragraph p = e.InsertParagraphAfter(doc.Styles[NamedStyle.BuiltIn.Normal]);
[vbnet]
Dim p As Paragraph= e.InsertParagraphAfter(doc.Styles(NamedStyle.BuiltIn.Normal))

Copyright 2007 © SoftArtisans, Inc. All Rights Reserved.