underline or/and strikethrough font style with js

PDF-XChange Viewer SDK for Developer's
(ActiveX and Simple DLL Versions)

Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange

TatianaS
User
Posts: 103
Joined: Mon Mar 18, 2013 4:26 pm

underline or/and strikethrough font style with js

Post by TatianaS »

Hello,
I am trying to set different Font styles in my annotation, but underline and strikethrough doesn't seem to work.

var annot = this.addAnnot({
page: 0,
type: "FreeText",
rect: [5, 10, 100, 100],
width: 0,
fillColor: color.transparent
});
var spans = new Array();
spans[0] = new Object();
spans[0].text = "Attention";
spans[0].textColor = color.blue;
spans[0].textSize = 18;
spans[0].underline = true;
spans[0].strikethrough = true;

annot.richContents = spans;
User avatar
Vasyl - PDF-XChange
Site Admin
Posts: 2445
Joined: Thu Jun 30, 2005 4:11 pm

Re: underline or/and strikethrough font style with js

Post by Vasyl - PDF-XChange »

Hi, TatianaS.

You are right, there is an issue with the span::underline and span::strikethrough properties. We will fix it in the next build..

Best
Regards.
PDF-XChange Co. LTD (Project Developer)

Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
TatianaS
User
Posts: 103
Joined: Mon Mar 18, 2013 4:26 pm

Re: underline or/and strikethrough font style with js

Post by TatianaS »

Hello, could I have approximate release date
User avatar
Paul - PDF-XChange
Site Admin
Posts: 7361
Joined: Wed Mar 25, 2009 10:37 pm

Re: underline or/and strikethrough font style with js

Post by Paul - PDF-XChange »

Hi TatianaS,

the best we can say right now is there should be something by the end of the month.

hth
Best regards

Paul O'Rorke
PDF-XChange Support
http://www.pdf-xchange.com
TatianaS
User
Posts: 103
Joined: Mon Mar 18, 2013 4:26 pm

Re: underline or/and strikethrough font style with js

Post by TatianaS »

thank you
User avatar
Will - Tracker Supp
Site Admin
Posts: 6815
Joined: Mon Oct 15, 2012 9:21 pm

Re: underline or/and strikethrough font style with js

Post by Will - Tracker Supp »

:)
If posting files to this forum, you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded.
Thank you.

Best regards

Will Travaglini
Tracker Support (Europe)
Tracker Software Products Ltd.
http://www.tracker-software.com