Segment.TextInfo.TextBorder Not Rendering


#1

I’m having trouble rendering a border around text segments. I’m using direct-to-file mode and the following code:

pdfSegment.TextInfo.TextBorder = New BorderInfo(BorderSide.All, 1.0F, New Color(“Black”))

I’ll send my code if it works for you. Thanks.


#2

Dear cohenn,

Thank you for considering Aspose.

Sorry for making you confused. Text border is supported at text paragraph level but not segment level. You should set that property in Text.TextInfo.