Click here to Skip to main content
15,891,941 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello Experts,
I am a new programmer and need your help. I am developing an application which need to print text and images. Math Equations or other symbols are being copied from MathyType to a RichTextBox.

I am facing the problem that copied data from MathType (which is pasted in the form of image in RichTextBox) is aligned bottom with the text line, while I want it to be vertically aligned middle with the text line.

Please HELP me.

Thanks in advance.
Posted
Comments
Ralf Meier 16-Aug-15 7:42am    
I'm sorry but I see no possibility to realize what you want to do in that way ...
Member 11909147 16-Aug-15 7:52am    
Thank you Ralf, for your reply.
But I hope you experienced this using MathType and MS Word, when we copy anything from MathType to Word, it is still pasted in image format but in Word that image is vertically aligned very nicely as I want.
So you mean this is not possible for me or in any way? or you know some kind of solution of this problem?

Thank
Kschuler 19-Aug-15 14:28pm    
Can you click the Improve question link and add more information to your question. What kind of project are you doing? Web or Windows Forms or something else? And what code do you have so far to display these controls? Have you tried google first?
https://www.google.com/webhp?sourceid=chrome-instant&rlz=1C1EODB_enUS581US581&ion=1&espv=2&ie=UTF-8#q=image%20in%20richtextbox%20align%20middle%20vb.net
CoderzF1 26-Aug-15 16:45pm    
it would be possible to do this with html and the webbrowser control, but not with the richtextbox control. the only problem would be if you were to want to edit the text which is why i am guessing you are using it in the first place. of course there are html editing controls out there also.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900