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
Copy file name to clipboardExpand all lines: Document-Processing/Word/Conversions/Word-To-PDF/NET/Word-to-pdf-settings.md
+74Lines changed: 74 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1350,3 +1350,77 @@ document.Close()
1350
1350
{% endtabs %}
1351
1351
1352
1352
You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/DocIO-Examples/tree/main/Word-to-PDF-Conversion/Restrict-permission-in-PDF).
1353
+
1354
+
## Apply Matte to Transparent Images
1355
+
1356
+
This setting allows you to determine whether to **apply a matte color to transparent images** during Word to PDF conversion, ensuring they render cleanly without unwanted borders or artifacts in the final PDF.
1357
+
1358
+
The following code sample shows how to apply a matte color to transparent images during Word to PDF conversion.
1359
+
1360
+
{% tabs %}
1361
+
1362
+
{% highlight c# tabtitle="C# [Cross-platform]" %}
1363
+
1364
+
FileStream fileStream = new FileStream("Template.docx", FileMode.Open);
1365
+
// Loads an existing Word document
1366
+
WordDocument wordDocument = new WordDocument(fileStream, FormatType.Docx);
1367
+
// Instantiates DocIORenderer instance for Word to PDF conversion
1368
+
DocIORenderer renderer = new DocIORenderer();
1369
+
// Set to true to apply a matte color to transparent images.
Copy file name to clipboardExpand all lines: Document-Processing/Word/Conversions/Word-To-PDF/NET/word-to-pdf.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -238,6 +238,10 @@ You can preserve Ole Equation as bitmap image in the converted PDF document. For
238
238
239
239
You can restrict all the permission in a PDF document using [PdfPermissionsFlags](https://help.syncfusion.com/cr/document-processing/Syncfusion.Pdf.Security.PdfPermissionsFlags.html). For further information, click [here](https://help.syncfusion.com/document-processing/word/conversions/word-to-pdf/net/word-to-pdf-settings#restrict-all-permission-in-a-pdf-document).
240
240
241
+
### Apply Matte to Transparent Images
242
+
243
+
This setting allows you to determine whether to **apply a matte color to transparent images** during Word to PDF conversion, ensuring they render cleanly without unwanted borders or artifacts in the final PDF. For further information, click [here](https://help.syncfusion.com/document-processing/word/conversions/word-to-pdf/net/word-to-pdf-settings#restrict-all-permission-in-a-pdf-document).
244
+
241
245
## Font Substitution
242
246
243
247
When the necessary fonts used in the Word document has not been installed in the production machine, then Essential<sup>®</sup> DocIO uses the ”Microsoft Sans Serif” as default font for rendering the text. This leads to preservation difference in generated PDF as each font has different glyphs for characters.
Copy file name to clipboardExpand all lines: Document-Processing/Word/Conversions/Word-To-PDF/overview.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -240,6 +240,10 @@ You can preserve Ole Equation as bitmap image in the converted PDF document. For
240
240
241
241
You can restrict all the permission in a PDF document using [PdfPermissionsFlags](https://help.syncfusion.com/cr/document-processing/Syncfusion.Pdf.Security.PdfPermissionsFlags.html). For further information, click [here](https://help.syncfusion.com/document-processing/word/conversions/word-to-pdf/net/word-to-pdf-settings#restrict-all-permission-in-a-pdf-document).
242
242
243
+
### Apply Matte to Transparent Images
244
+
245
+
This setting allows you to determine whether to **apply a matte color to transparent images** during Word to PDF conversion, ensuring they render cleanly without unwanted borders or artifacts in the final PDF. For further information, click [here](https://help.syncfusion.com/document-processing/word/conversions/word-to-pdf/net/word-to-pdf-settings#restrict-all-permission-in-a-pdf-document).
246
+
243
247
## Font Substitution
244
248
245
249
When the necessary fonts used in the Word document has not been installed in the production machine, then Essential<sup>®</sup> DocIO uses the ”Microsoft Sans Serif” as default font for rendering the text. This leads to preservation difference in generated PDF as each font has different glyphs for characters.
0 commit comments