Discover how to add an HTML string to a PDF document using the DOM API in Ruby with Aspose.PDF for dynamic content generation....Document object doc = Rjb :: import ( ' com . aspose . pdf . Document...HTML contents title = Rjb :: import ( ' com . aspose . pdf . HtmlFragment...