Click or drag to resize

TextGenerateParagraph Method (Run, String)

Generate a paragraph object with parameter as Run object and by style

Namespace:  SOWIDocument.Word
Assembly:  SOWIDocument.Word (in SOWIDocument.Word.dll) Version: 22.2.10.1 (22.2.10.450)
Syntax
internal static Paragraph GenerateParagraph(
	Run pRun,
	string pStyle = ""
)

Parameters

pRun
Type: Run
Run object into Paragraph object
pStyle (Optional)
Type: SystemString
Paragraph style

Return Value

Type: Paragraph
A paragraph with text and by style
Exceptions
ExceptionCondition
ArgumentNullExceptionCheck parameter pRun
Exception Log by helper Write(Exception, String) and passes on the exception.
See Also