The Property-Set-HTML can only be used to convert an HTML stream to a property? it should be other way around, i need to convert the property to html.( so this can be used in HTMLTOPDF activity) Is there a way to do this?
If your requirement is write something from clipboard to PDF and email it then you can create a section and include this in a HTML and pass it to pyAttachAsPDF activity. This will convert section into a PDF and attach it to work object. With a proper attachment category defined, you can easily email this attachment.