
- #Hide underline in hyperlink code#
- #Hide underline in hyperlink download#
- #Hide underline in hyperlink free#
#Hide underline in hyperlink code#
Please try this code and then tell us your testing result. Attached is my output file for your reference. it should show exactly same like normal mode in slide show mode as well.ĭifferent_versions_in_slide_show_mode.pngīesides, I tried to apply bold style to the character "_", like the below code, and it also works well on my side. it should not be as it's looked very wearied. So in both the cases the in normal mode they looks fine but in slide show mode the character "_" moved. the only underscore having between "&" and "CEO" and it moved below the character "C". Same thing happened in text string "President &_CEO".

the character "_" looking fine on normal mode but when we do slide show mode then the first underscore "_" break into two "_" character and the second underscore that is between "All" and "CEOs" moved below character "C" from text string "_All_CEOs".Ģ. we have a text string " _All_CEOs > President &_CEO > EVP, Human Resources" in this attached file in slide one. Please see attached issue file which was generated after using your latest code.Please see text as highlighted in blue at top right coroner in slide one. we have different PPT file having different slide size from each other PPT file and when we see the PPT in normal mode then it's looks perfect but when we see PPT in Slide show mode then the character "_" of hyperlink text looks weird as it comes before the charcter thus we thought we can remove underline from it then our issue get resolved. The issue is that whenever we have the character "_" in a text string. Now it is showing the underscore in both mode but it seems that the issue reached as the same starting point from where we started this. We have used the new code as provided by you and it seems that the issue still exists. the file which i shared with you was generated using code provided by you that's why in slide show mode, the character "_" was also replaced with the space in my earlier attached PPT file. I verified that the character "_" was not replaced with the space in our slide in slide show mode. Tr.IsInheritUnderlineFill = TriState.True Tr.UnderlineFillFormat.FillType = FillFormatType.Solid Tr.TextUnderlineType = TextUnderlineType.Single String split = regx.Split(hyperlinkText)
#Hide underline in hyperlink free#
If there is any question, please feel free to write back. However, you could refer to the following code to avoid this issue. And I tried to do the same in Microsoft PowerPoint, but found that in slide show mode, the character "_" was also replaced with the space. it should only remove/color white the underline from hyperlink but underscore should be always there within the text. it should show exact same string in both normal and slide show mode. Therefore, whenever we have any text string which contain underscore may be one or more than one. please see slide one in normal and slide show mode for the issue.Please see text as highlighted in blue at top right coroner in slide one.

I have attached a PPT file from our output. We have a text string " _All_CEOs" so when we see the PPT output in normal mode then it's showing correctly but in slide show mode it replaced underscore with space automatically. that's exactly we want.however, when we have underscore(_) in any text string then it's not giving correct output. We tried the provided code and it seems the underline form hyperlink is not visible. Thanks for your an quick update.We really like it. Rachel.lei Posts: 1573 Joined: Tue 2:22 am TextRange.IsInheritUnderlineFill = TriState.True //!!!IMPORTANT TextRange.TextUnderlineType = TextUnderlineType.Single TextRange tr1 = new TextRange("E-iceblue") TextParagraph para1 = new TextParagraph()

#Hide underline in hyperlink download#
Please download it from the following link. Considering your situation, we compiled a temporary version for you. Glad to tell you that the issue SPIREPPT-1166 has been fixed. Thanks for your following up and sorry for the late reply as weekend. Presentation.SaveToFile("hyperlink.pptx", FileFormat.Pptx2013) = Color.White ĬlickHyperlink hyperlink = new ClickHyperlink("")

AddEffect(shape, AnimationEffectType.Zoom) IAutoShape shape = (ShapeType.Rectangle, new RectangleF(100, 100, 150, 50)) If there is any question, please get back to us.Ĭode: Select all Presentation presentation = new Presentation() Below is the corresponding code for your reference. However, I searched some technical forums and learned that you can directly add the hyperlink to the text box instead of text, so that the hyperlink is not underlined. Our Spire.Presentation is based on Microsoft PowerPoint, and I have verified that using Microsoft PowerPoint can't set the hyperlink text without underline.
