strikethrough text

Skip Navigation LinksHome  /  Support  /  Forums  /  DynamicPDF ReportWriter for .NET (v4)  /  Re: strikethrough text

DynamicPDF ReportWriter for .NET (v4) Forum

 Feb 12 2009 7:50 PM
is there any way to create strikethrough text similar to the old HTML standard tag <strike></strike> within a recordbox if it has a value to display?   I'm trying to show my customers what the  original price of a product is next to the newly reduced price and I want to cross out the old value

Thanks
 Feb 13 2009 4:25 AM
Posted by a ceTe Software moderator
Hello,

It is not possible to use the strike tag using our DynamicPDF product. Strike tag is not supported by the FormattedTextArea page element. You can refer to the Supported HTML tags on our help documentation.

You can add lines to the PDF document by using the Line page element. But you will need to know the X, Y positions to add the lines. You can refer to the Line on our help documentation.

Thanks,
ceTe Software Support Team.
 Feb 13 2009 11:58 AM
Is there any way to add lines based on the data coming through?  if there is data, I would like to add a line but if not, then I would like to leave it blank with no line
 Feb 13 2009 12:15 PM
Posted by a ceTe Software moderator
Hello,

Yes, you can do this without any problem by using a PlaceHolder. You will have to add a PlaceHolder report element where you want to add the line, and you can add the line to the PDF if required in the LaidOut event of the place holder by checking whether data is present or not. You can refer to the LaidOut event of the place holder on our help documentation.

Thanks,
ceTe Software Support Team.
 Feb 17 2009 5:44 PM
How would you check to see if data is present within a recordbox?
 Feb 18 2009 4:28 AM
Posted by a ceTe Software moderator
Hello,

It is not possible to check the record box to find out whether it has data. You will have to add a PlaceHolder instead of the record box and in the LaidOut event of the place holder you can check the data. You can add the data or any other page elements in this event without any problem. Please refer to the Handling Events topic in our help documentation.

Thanks,
ceTe Software Support Team.

All times are US Eastern Standard time. The time now is 3:59 PM.