Rank: Newbie
Groups: Registered
Joined: 6/17/2019(UTC) Posts: 5  Location: Sydney Thanks: 1 times
|
Hi support,
We are currently using PdfFreeTextAnnotation's.
For normal appearances we perform the following (which works as expected):
annotation.CreateEmptyAppearance(AppearanceStreamModes.Normal); var textObj = PdfTextObject.Create("normal text", xLocation, yLocation, PdfFont.CreateStock(document, fontName), fontSize); annotation.NormalAppearance.Add(textObj); annotation.GenerateAppearance(AppearanceStreamModes.Normal);
However, when we perform the same calls to the Down and Rollover appearances, they do not activate when the mouse is over the annotation.
annotation.CreateEmptyAppearance(AppearanceStreamModes.Rollover); var textObj = PdfTextObject.Create("rollover text", xLocation, yLocation, PdfFont.CreateStock(document, fontName), fontSize); annotation.RolloverAppearance.Add(textObj); annotation.GenerateAppearance(AppearanceStreamModes.Rollover);
For the above code, we would expect the text on the annotation to change from "normal text" to "rollover text" when the mouse is over the annotation.
Any ideas?
Do you also have any samples to how/when the Annotations Popup is used and activated?
|
|
|
|
Rank: Administration
Groups: Administrators
Joined: 1/5/2016(UTC) Posts: 1,075
Thanks: 6 times Was thanked: 124 time(s) in 121 post(s)
|
|
|
|
|
Forum Jump
You can post new topics in this forum.
You can reply to topics in this forum.
You can delete your posts in this forum.
You can edit your posts in this forum.
You cannot create polls in this forum.
You can vote in polls in this forum.
Important Information:
The Patagames Software Support Forum uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close