' Specify page settings before export to PDF.ĭocument.Unit = ĭocument.Sections(0).Margins.Right = 0.2F Imports ĭim document As Document = richEditControl1.Documentĭocument.LoadDocument("HtmlDocument.html", DocumentFormat.Html)ĭim options As New () RichEditControl1.ExportToPdf("PdfDocument.pdf", options) Specify page settings before export to PDF.ĭocument.Unit = ĭ = 0.2f ĭ = 0.2f Using ĭocument document = richEditControl1.Document ĭocument.LoadDocument("HtmlDocument.html", DocumentFormat.Html) Pass a PdfExportOptions instance to the method to specify export options. Use the RichEditControl.ExportToPdf method to export HTML content to PDF. ' Load images synchronously with HTML documents.Īfter you load an HTML file to the Rich Text Editor, you can export the document to a different format. If e.DocumentFormat = DocumentFormat.Html Thenĭim options As HtmlDocumentImporterOptions = CType(e.Options, DXRichEditHtmlDocumentImporterOptions) Load images synchronously with HTML documents.ĪddHandler richEditControl1.BeforeImport, Var options = (DXRichEditHtmlDocumentImporterOptions)e.Options
If (e.DocumentFormat = DocumentFormat.Html) RichEditControl1.BeforeImport += (s, e) => Propert圜hangedEvent?.Invoke(Me, New Propert圜hangedEventArgs(html))Īssign HTML text to the RichEditControl.HtmlText or property.
Protected Sub OnPropert圜hanged( Optional html As String = Nothing) Public Event Propert圜hanged As Propert圜hangedEventHandler Implements INotifyPropert圜hanged.Propert圜hanged Html = File.ReadAllText("Document.html", Encoding.UTF8) Propert圜hanged?.Invoke(this, new Propert圜hangedEventArgs(htmlText)) Private void OnPropert圜hanged( string htmlText = null) Public event Propert圜hangedEventHandler Propert圜hanged HtmlText = File.ReadAllText("Document.html", Encoding.UTF8) After you’ve finished editing, click OK to return to timeline.Public class HtmlViewModel : INotifyPropert圜hanged In the Effect tab, select your preferred effect and adjust the size, color, density and opacity.
Now you can spice up your video with spectacular textual effects, such as neon, lightning and fire. PowerDirector provides 6 Special Effects to make your text even more eye-catching. You can also adjust the length of the effect in the timeline. The Text Designer offers several default templates, where you can set up the Starting Effect and Ending Effect of your title. You can apply different effects as the beginning or ending sequence of your text.įirst, go to the Effect tab in the Title Designer. Title Designer offers different animation effects for your text. You can also add a background image by clicking the Insert background button. Next, selecting the Backdrop option gives you the choice of adding two different types of backdrops onto the text to help it stand out.Ħ. Enable the Shadow and Border to add effects to the text.ĥ. Font/Paragraph tool allows you to set up the font, size and color.Ĥ. Character Presets offer several design templates for you to select and directly apply to your text.ģ. Double click the title on the timeline to open the Title Designer.Ģ.
Title effects contain character presets, animation, and background options to fit your video project.ġ. You can completely customize title effects in the Title Designer. Click select and add different title effect templates to your video or title track. Adding Titles in the Title RoomĮnter the Title Room to add title effects to your ongoing production. The Title Designer gives you all the tools you need to create unique animated titles.
This tutorial will show you how to add titles in PowerDirector. Adding titles helps to capture the attention of your audience and increase the overall appeal of your video.