Hi;
I can find footnote object at CPPosition witn FootnoteAtCP. But I can't see how to retrieve the text. I tried using EmbeddedText and GetText but I get empty string.
Is there a property to get/set Footnote text?.
Thank you.
Felipe
Hi;
I can find footnote object at CPPosition witn FootnoteAtCP. But I can't see how to retrieve the text. I tried using EmbeddedText and GetText but I get empty string.
Is there a property to get/set Footnote text?.
Thank you.
Felipe
Hi,
You need to locate the layer which is used for that footnote object. The layers are stored in WPRichText.HeaderFooter and the funtion to locate one is Get or Find.
QuickNDirty Demo:
Hi;
Fine, it works to get the footnote value; now I try to change that value with a new one, but as I see on the manual this RTFTEXT object does not expose a property or method to set it as an ansi string. "AsString" seems to be rtf format.
How do I set it?
Felipe
Hi,
You can first clear it and the use FirstPar.SetText to set ANSI text directly into the paragraph.
Julian