Posted 17 years ago by Ashton - Developer, Schema Solutions LLC
Is there any way currently or any plans to allow save/export to PDF from SyntaxEditor?

I have a situation where I am trying to generate a report of multiple SyntaxEditor documents along with some results displayed in a grid and was wondering if there was anyway to export/save the contents of the editor (I would also like to export to PDF the user margin info as well) to PDF format?



Comments (3)

Posted 17 years ago by Actipro Software Support - Cleveland, OH, USA
Hi Ashton,

Sorry we don't have a way to do that right now. There is a Render method on SyntaxEditor but I believe that only draws what is currently visible. Perhaps you could use that though.

Actipro Software Support

Posted 11 years ago by bestimage

can i use a third party software to generate pdf files if SynaxEditor can't save as pdf. so we need to generate pdf by ourselves.

[Modified 11 years ago]

Posted 11 years ago by Actipro Software Support - Cleveland, OH, USA


You could also possibly call Document.GetTextAsRtf and render RTF in your PDF output.  You'd have the syntax highlighting then.

Actipro Software Support

The latest build of this product (v24.1.0) was released 2 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.