Posted 12 years ago by Ashton - Developer, Schema Solutions LLC
Avatar
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?

Thanks,

Ashton

Comments (3)

Posted 12 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
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 6 years ago by bestimage
Avatar

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

[Modified 6 years ago]

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

Hello,

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 (v2018.1 build 0341) was released 7 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.