Skip to content

Commit 3128a00

Browse files
committed
addressed feedback
1 parent 57ceb01 commit 3128a00

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

knowledge-base/convert-wmf-to-png-radwordsprocessing.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Learn how to programmatically convert WMF images to PNG within RTF
44
type: how-to
55
page_title: How to Convert WMF to PNG in RTF Files Using Telerik Document Processing
66
slug: convert-wmf-to-png-radwordsprocessing
7-
tags: radwordsprocessing, document processing, rtf, wmf, png, image conversion
7+
tags: wordsprocessing, rtf, wmf, png, document, processing, image, conversion
88
res_type: kb
99
ticketid: 1662500
1010
---
@@ -17,13 +17,13 @@ ticketid: 1662500
1717

1818
## Description
1919

20-
This article demonstrates a sample approach how to convert the images in WMF format to PNG within a [RTF]({%slug radwordsprocessing-formats-and-conversion-rtf%}) document.
20+
This article demonstrates a sample approach how to convert the images in WMF format to PNG within an [RTF]({%slug radwordsprocessing-formats-and-conversion-rtf%}) document.
2121

2222
## Solution
2323

2424
To convert WMF images to PNG format within an RTF document using RadWordsProcessing, follow these steps:
2525

26-
1. [Import the RTF file](https://docs.telerik.com/devtools/document-processing/libraries/radwordsprocessing/formats-and-conversion/rtf/rtfformatprovider#import) into a `RadFlowDocument`.
26+
1. [Import the RTF file](https://docs.telerik.com/devtools/document-processing/libraries/radwordsprocessing/formats-and-conversion/rtf/rtfformatprovider#import) as a `RadFlowDocument`.
2727

2828
2. Iterate through the [floating images]({%slug radwordsprocessing-model-floatingimage%}) in the document.
2929

@@ -34,6 +34,11 @@ To convert WMF images to PNG format within an RTF document using RadWordsProcess
3434
Here is a sample code snippet demonstrating this process:
3535

3636
```csharp
37+
using System.Diagnostics;
38+
using Telerik.Windows.Documents.Flow.Model;
39+
using Telerik.Windows.Documents.Flow.Model.Shapes;
40+
using Telerik.Windows.Documents.Media;
41+
3742
static void Main(string[] args)
3843
{
3944
string inputFilePath = "yourfile.rtf";

0 commit comments

Comments
 (0)