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: File-Formats/DocIO/Working-With-Content-Controls.md
+4-1Lines changed: 4 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,6 +19,9 @@ Content controls can be categorized based on its occurrence in a document as fol
19
19
*[InlineContentControl](https://help.syncfusion.com/cr/file-formats/Syncfusion.DocIO.DLS.InlineContentControl.html): Among inline content inside, as a child of a paragraph.
20
20
*[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.
21
21
22
+
To quickly start create and fill a form in Word document, please check out this video:
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.
@@ -2594,4 +2597,4 @@ N> In the above-mentioned code samples, for Xamarin platforms the document is sa
2594
2597
2595
2598
## See Also
2596
2599
2597
-
*[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)
2600
+
*[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)
Copy file name to clipboardExpand all lines: File-Formats/PDF/Convert-HTML-To-PDF/features.md
+54-1Lines changed: 54 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2079,4 +2079,57 @@ document.Close(True)
2079
2079
2080
2080
{% endtabs %}
2081
2081
2082
-
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).
2082
+
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).
2083
+
2084
+
## Scale
2085
+
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.
2086
+
2087
+
N> The scaling factor should be within the range of 0.1 to 2.0.
2088
+
2089
+
Refer to the following code snippet to resize the page content size.
2090
+
2091
+
{% tabs %}
2092
+
2093
+
{% highlight c# tabtitle="C# [Cross-platform]" %}
2094
+
2095
+
//Initialize the HTML to PDF converter.
2096
+
HtmlToPdfConverter htmlConverter = new HtmlToPdfConverter();
2097
+
//Initialize the blink converter settings.
2098
+
BlinkConverterSettings blinkConverterSettings = new BlinkConverterSettings();
2099
+
//Set the Scale.
2100
+
blinkConverterSettings.Scale = 1.0f;
2101
+
//Assign the Blink converter settings to the HTML converter.
Dim document As PdfDocument = htmlConverter.Convert("https://www.syncfusion.com")
2126
+
'Save a PDF document to a file stream.
2127
+
document.Save("HTMLtoPDF.pdf")
2128
+
'Close the document.
2129
+
document.Close(True)
2130
+
2131
+
{% endhighlight %}
2132
+
2133
+
{% endtabs %}
2134
+
2135
+
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).
0 commit comments