There was a small mistake. This will work:
WPRichText1.InsertPointAttr.Hidden:=TRUE;
There was a small mistake. This will work:
WPRichText1.InsertPointAttr.Hidden:=TRUE;
Hi,
I need to find out the width and height of the Text in a WPRichtext in pixels (without any margins!). I tried to loop through all lines and retrieve the TextWidth of that line (and convert the twips to pixels) but there is always some kind of margin included or it's the width of the whole paragraph and not the text.
I can get the textheight with 'ActivePar.Lines[].Height' but i need to include the space between the lines too...
Or is there another way (e.g property) to get these values?
Thx
DelphiUser
Hi,
I want to insert a multiline Textfield into a WPRichText.
TWPTextObj can only hold a single line, I think.
So "WPRichText.TextObjects.InsertNewObject(wpobjTextObject..." won't work.
Can anyone give me a hint?
Thx
DelphiUser
I just downloaded the new version (WPT5Standard.ZIP [2485KB, 30.09.2004]) and i still get this error when compiling!
Hi,
If I wanted to add addiational functionality to the HTML Parser, especially parsing more special characters (e.g. "ζ"), would i be able to do this if i upgraded to the PRO version of WPTools5 including the RTFEngine units? I think it's not possible with the Standard Version. Am i right?
mfg DelphiUser
Hallo,
Mit den WPTools4 konnte ich problemlos z.B. aus Word russische Zeichen in mein WPRichtext kopieren. Diese wurden auch korrekt dargestellt.
Mit den WPTools5 funktioniert das allerdings nicht. Muss ich dort erst irgendeine Einstellung ändern ??
mfg DelphiUser
Hi,
I have a problem with the Fontsize on the BackgroundImage.
I draw text on a Bitmap.Canvas using Bitmap.Canvas.TextOut(...).
Before this I set the Fontproperties of the Bitmap.Canvas exactly like the Font of the WPRichText (e.g. Fontname: Arial, Size: 11).
Then I assign the Bitmap to the WPRichText as BackgroundImage. But when I compare the text drawn on the Canvas with the text written in the WPRichText it is slightly bigger.
Is the BackgroundImage beeing stretched when assigned to the WPRichtext ??
Thx for your help !!
mfg DelphiUser