Position to insert images.

General TRichView support forum. Please post your questions here
Post Reply
fure
Posts: 6
Joined: Mon Sep 10, 2007 9:46 pm

Position to insert images.

Post by fure »

Hello,

I noticed when I insert an image that it will be drawn slightly higher than the lower limit of the text, thus the line height may change slightly. Is there a different option other than rvvaBaseline or rvvaMiddle (this is too low) to lower the starting postion for the image? Preferable at the bottom of the line.

I am asking because I am creating a text editor that will allow the users to put in variable data within the editor. Anyway, to display this variable data I am inserting an image that is large enough to contain text with the same font (the image is a green box with some text in it). So, when I insert the image the line will shift down to accomodate the image height.

Thanks
fure
Posts: 6
Joined: Mon Sep 10, 2007 9:46 pm

Post by fure »

Found the answer. I used rvvaAbsBottom and it puts the image exactly where I want it.
Post Reply