public method ParagraphBuilder.BuildToSection
Builds a paragraph to a section.
Declaration | ||||
|
Helps you to switch from ParagraphBuilder
to SectionBuilder
"on the fly".
When some method returns an instance of ParagraphBuilder
, but you need now to call a method of SectionBuilder
,
insert the BuildToSection()
method between them.
Example:
DocumentBuilder.New().AddSection().AddParagraph("text1").SetFont(font1).BuildToSection().AddParagraph("text2").SetFont(font2);
Declared in ParagraphBuilder