Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
7a85c58
Update Supported-and-Unsupported-Features.md for custom shapes
AkashArul26 Dec 8, 2023
0890789
Update Supported-and-Unsupported-Features.md
AkashArul26 Dec 14, 2023
2db30f5
865893 : Add scale property in HTML converter.
Sri-hari-haran-g Jan 11, 2024
6919c08
865893 : Update the github sample link.
Sri-hari-haran-g Jan 11, 2024
186968b
865893 : Update the content review changes.
Sri-hari-haran-g Jan 11, 2024
aadf6c3
865893 : Update proper description for scale property.
Sri-hari-haran-g Jan 12, 2024
dbda960
866213: Revamping the missed HTML to PDF in AWS documentation.
Sri-hari-haran-g Jan 12, 2024
03bbf11
Youtube link added
Jan 12, 2024
623a991
Update Youtube link
AnburasanSaravanan Jan 12, 2024
3848e38
Added youtube link for TOC
AnburasanSaravanan Jan 12, 2024
1535c88
Merge pull request #1761 from syncfusion-content/866213
chinnumuniyappan Jan 12, 2024
500414f
865893 : Add API refernce link for scale property.
Sri-hari-haran-g Jan 12, 2024
828da6d
Merge pull request #1756 from syncfusion-content/865893
chinnumuniyappan Jan 12, 2024
37c3c83
Merge pull request #1689 from syncfusion-content/ES-860333-Update-the…
MohanaselvamJothi Jan 12, 2024
55f6ec2
Merge branch 'ES-865507-Youtube-link' of https://github.com/syncfusio…
Jan 12, 2024
36e6b12
Merge branch 'hotfix/hotfix-v24.1.41' of https://github.com/syncfusio…
Jan 12, 2024
0c3598d
Merge pull request #1762 from syncfusion-content/ES-865507-Youtube-link
MohanaselvamJothi Jan 12, 2024
e489aac
866166_Blazor_Web_App_UG
Kurmitha4004 Jan 12, 2024
e02eb19
Merge pull request #1766 from syncfusion-content/866166_Blazor_Web_Ap…
Mohan2401 Jan 12, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 15 additions & 1 deletion File-Formats-toc.html
Original file line number Diff line number Diff line change
Expand Up @@ -867,7 +867,20 @@
</li>
</ul>
</li>
<li><a href="/file-formats/pdf/convert-html-to-pdf/aws">AWS</a></li>
<li>
AWS
<ul>
<li>
<a href="/file-formats/pdf/convert-html-to-pdf/Convert-HTML-to-PDF-in-AWS-Lambda">AWS Lambda</a>
</li>
<li>
<a href="/file-formats/pdf/convert-html-to-pdf/Convert-HTML-to-PDF-in-AWS-Lambda-with-NET 6-container-image">AWS Lambda with NET 6 container image</a>
</li>
<li>
<a href="/file-formats/pdf/convert-html-to-pdf/Convert-HTML-to-PDF-in-AWS-Elastic-Beanstalk">AWS Elastic Beanstalk</a>
</li>
</ul>
</li>
<li><a href="/file-formats/pdf/convert-html-to-pdf/docker">Docker</a></li>
</ul>
</li>
Expand Down Expand Up @@ -1387,6 +1400,7 @@
<li><a href="/file-formats/xlsio/create-read-edit-excel-files-in-asp-net-mvc-c-sharp">ASP.NET MVC</a></li>
<li><a href="/file-formats/xlsio/create-read-edit-excel-files-in-asp-net-c-sharp">ASP.NET</a></li>
<li><a href="/file-formats/xlsio/create-read-edit-excel-files-in-blazor-c-sharp">Blazor</a></li>
<li><a href="/file-formats/xlsio/create-read-edit-excel-files-in-blazor-web-app">Blazor Web</a></li>
<li><a href="/file-formats/xlsio/create-read-edit-excel-files-in-xamarin-c-sharp">Xamarin</a></li>
<li><a href="/file-formats/xlsio/create-read-edit-excel-files-in-windows-forms-c-sharp">Windows Forms</a></li>
<li><a href="/file-formats/xlsio/create-read-edit-excel-files-in-wpf-c-sharp">WPF</a></li>
Expand Down
5 changes: 2 additions & 3 deletions File-Formats/DocIO/Supported-and-Unsupported-Features.md
Original file line number Diff line number Diff line change
Expand Up @@ -355,8 +355,8 @@ Yes<br/><br/></td></tr>
Custom shapes<br/><br/></td><td>
No<br/><br/></td><td>
No<br/><br/></td><td>
No<br/><br/></td><td>
No<br/><br/></td><td>
DrawingML - Yes<br/>VML - No<br/><br/></td><td>
DrawingML - Yes<br/>VML - No<br/><br/></td><td>
No<br/><br/></td><td>
No<br/><br/></td></tr>
<tr>
Expand Down Expand Up @@ -443,7 +443,6 @@ Yes<br/><br/></td></tr>
</tbody>
</table>


### Paragraph features

<table>
Expand Down
5 changes: 4 additions & 1 deletion File-Formats/DocIO/Working-With-Content-Controls.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ Content controls can be categorized based on its occurrence in a document as fol
* [InlineContentControl](https://help.syncfusion.com/cr/file-formats/Syncfusion.DocIO.DLS.InlineContentControl.html): Among inline content inside, as a child of a paragraph.
* [BlockContentControl](https://help.syncfusion.com/cr/file-formats/Syncfusion.DocIO.DLS.BlockContentControl.html): Among paragraphs and tables, as a child of a Body, HeaderFooter, Comment, Footnote, or a Shape node.

To quickly start create and fill a form in Word document, please check out this video:
{% youtube "https://www.youtube.com/watch?v=IbsRfsRoa2s" %}

### Block Content Control

You can add content control to a text body of the Word document using block content control. You can add text, tables, pictures, or other items into the block content control. Refer to the following code.
Expand Down Expand Up @@ -2594,4 +2597,4 @@ N> In the above-mentioned code samples, for Xamarin platforms the document is sa

## See Also

* [How to remove the placeholder text if the meta property is empty in a Word document?](https://www.syncfusion.com/kb/13982/how-to-remove-the-placeholder-text-if-the-meta-property-is-empty-in-a-word-document)
* [How to remove the placeholder text if the meta property is empty in a Word document?](https://www.syncfusion.com/kb/13982/how-to-remove-the-placeholder-text-if-the-meta-property-is-empty-in-a-word-document)
3 changes: 3 additions & 0 deletions File-Formats/DocIO/Working-with-Table-Of-Contents.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ Builds a table of contents from paragraphs formatted with specified styles other
</tbody>
</table>

To quickly start create and update a table of contents in Word document, please check out this video:
{% youtube "https://www.youtube.com/watch?v=rCtGrWuRplk" %}

## Adding a TOC field

The following code example shows how to add a table of contents (TOC) in Word document.
Expand Down
55 changes: 54 additions & 1 deletion File-Formats/PDF/Convert-HTML-To-PDF/features.md
Original file line number Diff line number Diff line change
Expand Up @@ -2079,4 +2079,57 @@ document.Close(True)

{% endtabs %}

You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PDF-Examples/tree/master/HTML%20to%20PDF/Blink/Set_blink_path_in_HTML_to_PDF).
You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PDF-Examples/tree/master/HTML%20to%20PDF/Blink/Set_blink_path_in_HTML_to_PDF).

## Scale
Resizing the HTML content within a PDF can be achieved through the utilization of the [Scale](https://help.syncfusion.com/cr/file-formats/Syncfusion.HtmlConverter.BlinkConverterSettings.html#Syncfusion_HtmlConverter_BlinkConverterSettings_Scale) property of Blink in HTML Converter.

N> The scaling factor should be within the range of 0.1 to 2.0.

Refer to the following code snippet to resize the page content size.

{% tabs %}

{% highlight c# tabtitle="C# [Cross-platform]" %}

//Initialize the HTML to PDF converter.
HtmlToPdfConverter htmlConverter = new HtmlToPdfConverter();
//Initialize the blink converter settings.
BlinkConverterSettings blinkConverterSettings = new BlinkConverterSettings();
//Set the Scale.
blinkConverterSettings.Scale = 1.0f;
//Assign the Blink converter settings to the HTML converter.
htmlConverter.ConverterSettings = blinkConverterSettings;
//Convert the URL to a PDF document.
PdfDocument document = htmlConverter.Convert("https://www.syncfusion.com");
//Create a file stream.
FileStream fileStream = new FileStream("HTMLtoPDF.pdf", FileMode.Create, FileAccess.ReadWrite);
//Save a PDF document to a file stream.
document.Save(fileStream);
//Close the document.
document.Close(true);

{% endhighlight %}

{% highlight vb.net tabtitle="VB.NET [Windows-specific]" %}

'Initialize the HTML to PDF converter.
Dim htmlConverter As New HtmlToPdfConverter()
'Initialize the blink converter settings.
Dim blinkConverterSettings As New BlinkConverterSettings()
'Set the Scale.
blinkConverterSettings.Scale = 1.0F
'Assign the Blink converter settings to HTML converter.
htmlConverter.ConverterSettings = blinkConverterSettings
'Convert the URL to a PDF document.
Dim document As PdfDocument = htmlConverter.Convert("https://www.syncfusion.com")
'Save a PDF document to a file stream.
document.Save("HTMLtoPDF.pdf")
'Close the document.
document.Close(True)

{% endhighlight %}

{% endtabs %}

You can download a complete working sample from [GitHub](https://github.com/SyncfusionExamples/PDF-Examples/tree/master/HTML%20to%20PDF/Blink/HTML-to-PDF-scale-property).
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading