You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -22,15 +22,15 @@ This article demonstrates how to generate a [RadFlowDocument]({%slug radwordspro
22
22
23
23
## Solution
24
24
25
-
To achieve a header with left, center, and right aligned sections in a PDF document, use the [RadWordsProcessing]({%slug radwordsprocessing-overview%}) library to create a header and then insert a [Table]({%slug radwordsprocessing-model-table%}) with three [cells]({%slug radwordsprocessing-model-tablecell%}) into the header. Each cell represents one section of the header (left, center, right) and can contain text or image. The following steps and code snippet demonstrate this process:
25
+
To achieve a header with left, center, and right aligned sections in a PDF document, use the [RadWordsProcessing]({%slug radwordsprocessing-overview%}) library to create a header and then insert a [Table]({%slug radwordsprocessing-model-table%}) with three [cells]({%slug radwordsprocessing-model-tablecell%}) into the header. Each cell represents one section of the header (left, center, right) and can contain text or an image. The following steps and code snippet demonstrate this process:
26
26
27
27
1. Create a new [RadFlowDocument]({%slug radwordsprocessing-model-radflowdocument%}) and add a section to it.
28
28
2. Define the page size and margins for the section.
29
29
3. Add a paragraph with some text to the document as content.
30
30
4. Add a header to the first section of the document.
31
31
5. Inside the header, add a table with a single row and three cells.
32
32
6. Set the preferred width for each cell to one-third of the page width.
33
-
7. Add text or image to each cell with the desired alignment (left, center, right).
33
+
7. Add text or an image to each cell with the desired alignment (left, center, right).
34
34
8. Use the [PdfFormatProvider]({%slug radwordsprocessing-formats-and-conversion-pdf-pdfformatprovider%}) to export the document to a PDF file.
0 commit comments