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

Notification

Icon
Error

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

Rank: Newbie

Groups: Registered
Joined: 6/17/2019(UTC)
Posts: 3
Australia
Location: Sydney

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?
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.