How to change the border of the HTMLUI documents in WinForms HTMLUIControl?
Change the border
In WinForms HTMLUI control, it is possible to customize the Border appearance of its documents, by using its property named Margins.
Following code snippets demonstrates the same.
C#
//To change the margin at the Top of the HTMLUI control this.htmluiControl1.Document.Margins.Top -= 15;
VB
'To change the margin at the Top of the HTMLUI control Me.htmluiControl1.Document.Margins.Top -= 15
Figure 1. Change the border of HTMLUI documents with Image.
Samples:
C#: How to change the border of HTMLUI documents C#
VB: How to change the border of HTMLUI documents VB
Conclusion
I hope you enjoyed learning about how to change the border of the HTMLUI documents in WinForms HTMLUI Control.
You can refer to our WinForms HTMLUI’s feature tour page to know about its other groundbreaking feature representations. You can also explore our WinForms HTMLUI documentation to understand how to present and manipulate data.
For current customers, you can check out our WinForms from the License and Downloads page. If you are new to Syncfusion, you can try our 30-day free trial to check out our WinForms HTMLUI and other WinForms components.
If you have any queries or require clarifications, please let us know in comments below. You can also contact us through our support forums, Direct-Trac, or feedback portal. We are always happy to assist you!