private static void CreateSectionOneExample001(PdfBuilder pdfBuilder, MarginInfo parentPadding) { const string detailsColumnWidths = "140 310"; const bool boolValue = true; // Create Outer Table var exampleOuterTable = pdfBuilder.CreateOuterTable( detailsColumnWidths, Resources.ArialFont, PdfBuilder.DefaultHeadingTwoFontSize, parentPadding, keepContentTogether: true); // Create outer table heading pdfBuilder.CreateOuterTableRowHeading( exampleOuterTable, "Example Heading"); // insert blank row pdfBuilder.BlankRow(exampleOuterTable); // Create details var exampleLabelTextBox01 = exampleOuterTable.Rows.Add(); pdfBuilder.CreateOuterTableRowCells( exampleLabelTextBox01, "Example 01 (label-textbox)", "Description of example 01", padding: PdfBuilder.DefaultSubHeadingBottomPadding); var exampleLabelTextBox02 = exampleOuterTable.Rows.Add(); pdfBuilder.CreateOuterTableRowCells( exampleLabelTextBox02, "Example 02 (label-textbox)", "Description of example 02", padding: PdfBuilder.DefaultSubHeadingBottomPadding); var exampleLabelTextBox03 = exampleOuterTable.Rows.Add(); pdfBuilder.CreateOuterTableRowCells( exampleLabelTextBox03, "Example 03 (label-textbox)", "Description of example 03", padding: PdfBuilder.DefaultSubHeadingBottomPadding); var exampleLabelTextBox04 = exampleOuterTable.Rows.Add(); pdfBuilder.CreateOuterTableRowCells( exampleLabelTextBox04, "Example 04 (label-textbox)", "Description of example 04", padding: PdfBuilder.DefaultSubHeadingBottomPadding); var exampleLabelTextBox05 = exampleOuterTable.Rows.Add(); pdfBuilder.CreateOuterTableRowCells( exampleLabelTextBox05, "Example 05 (label-textbox)", "Description of example 05", padding: PdfBuilder.DefaultSubHeadingBottomPadding); var capitalOnlyRow = exampleOuterTable.Rows.Add(); pdfBuilder.CreateOuterTableRowCells( capitalOnlyRow, "Example Name 06 (from bool as yes/no value)", pdfBuilder.CreateYesNoValue(boolValue), padding: PdfBuilder.DefaultSubHeadingBottomPadding); // project description pdfBuilder.CreateTextAreaCell( exampleOuterTable.ColumnWidths, "Example 07 (textarea)", "Description of example 07", Resources.TextAreaColumnWidths); pdfBuilder.BlankRow(); }