Skip to content

Commit d088c40

Browse files
Update customize-headers-pdf-radwordsprocessing.md
1 parent 1cf316b commit d088c40

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

knowledge-base/customize-headers-pdf-radwordsprocessing.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Creating Headers with Left, Center, and Right Text/Image in Exported PDF Documents Using RadWordsProcessing
3-
description: Learn how to customize headers in PDF documents to have left, center, and right aligned text using RadWordsProcessing library.
3+
description: Learn how to customize headers in PDF documents to have left, center, and right-aligned text using RadWordsProcessing library.
44
type: how-to
55
page_title: How to Customize Headers in PDF Documents with RadWordsProcessing
66
slug: customize-headers-pdf-radwordsprocessing
@@ -12,7 +12,7 @@ ticketid: 1665701
1212
## Environment
1313

1414
| Version | Product | Author |
15-
| --- | --- | ---- |
15+
| ---- | ---- | ---- |
1616
| 2024.3.806| RadWordsProcessing |[Desislava Yordanova](https://www.telerik.com/blogs/author/desislava-yordanova)|
1717

1818
## Description
@@ -22,15 +22,15 @@ This article demonstrates how to generate a [RadFlowDocument]({%slug radwordspro
2222

2323
## Solution
2424

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:
2626

2727
1. Create a new [RadFlowDocument]({%slug radwordsprocessing-model-radflowdocument%}) and add a section to it.
2828
2. Define the page size and margins for the section.
2929
3. Add a paragraph with some text to the document as content.
3030
4. Add a header to the first section of the document.
3131
5. Inside the header, add a table with a single row and three cells.
3232
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).
3434
8. Use the [PdfFormatProvider]({%slug radwordsprocessing-formats-and-conversion-pdf-pdfformatprovider%}) to export the document to a PDF file.
3535

3636
```csharp

0 commit comments

Comments
 (0)