public method SectionBuilder.BuildToDocument
Builds a section to the document.
Declaration | ||||
|
Helps you to switch from SectionBuilder
to DocumentBuilder
"on the fly".
When some method returns an instance of SectionBuilder
, but you need now to call a method of DocumentBuilder
,
insert the BuildToDocument()
method between them.
Example:
DocumentBuilder.New().AddSection().AddParagraphToSection("text").BuildToDocument().Build(filename);
Declared in SectionBuilder