public method SectionBuilder.BuildToDocument

Brief

Builds a section to the document.

Declaration
C#
Gehtsoft.PDFFlow.Builder.DocumentBuilder  BuildToDocument ()

Details

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

back