logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

New Topic Post Reply
Options
Go to last post Go to first unread
simon.molino@smokeball.com  
#1 Posted : Thursday, June 20, 2019 9:29:50 PM(UTC)
Quote
simon.molino@smokeball.com

Rank: Newbie

Groups: Registered
Joined: 6/17/2019(UTC)
Posts: 5
Australia
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?
Paul Rayman  
#2 Posted : Saturday, June 19, 2021 11:05:28 AM(UTC)
Quote
Paul Rayman

Rank: Administration

Groups: Administrators
Joined: 1/5/2016(UTC)
Posts: 1,035

Thanks: 5 times
Was thanked: 122 time(s) in 119 post(s)
Hello,

Fixed since 4.42.2704
https://forum.patagames.com/posts/t749-Version-4-42-2704-was-released-on-Jan-31--2021
Quick Reply Show Quick Reply
Users browsing this topic
New Topic Post Reply
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.