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

Notification

Icon
Error

Post a reply
From:
Message:

Maximum number of characters in each post is: 32767
Bold Italic Underline   Highlight Quote Choose Language for Syntax Highlighting Insert Image Insert an existing Attachment or upload a new File... Create Link   Unordered List Ordered List   Left Justify Center Justify Right Justify   Outdent Indent   More BBCode Tags
Font Color Font Size
Security Image:
Enter The Letters From The Security Image:
  Preview Post Cancel

Last 10 Posts (In reverse order)
Paul Rayman Posted: Tuesday, April 14, 2020 8:23:25 AM(UTC)
 
You can try this by switching the SDK to evaluation mode. Just delete the activation key. Also you can request a temporary key here https://patagames.com/request-trial/
gffranca Posted: Friday, April 3, 2020 9:05:46 AM(UTC)
 
My key and version dont give access to page.Annots, i havent renew it yet.

I have a Word document with underlined words that i need to export it like a PDF to work with it. Those underlined words will be reachable with page.Annots method?
It seems that whith page.Annots i can just find annotations made after it became a PDF. Thanks in advance.
Paul Rayman Posted: Monday, December 16, 2019 12:37:27 AM(UTC)
 
According to the PDF specification, text objects do not have such an attribute as "underlined word".
The underline effect is achieved by using specialized annotations.
Try the following code:

Code:

foreach (var annot in page.Annots)
{
    if (!(annot is PdfUnderlineAnnotation))
        continue;

    string text = page.Text.GetBoundedText(annot.Rectangle);
}
gffranca Posted: Friday, December 13, 2019 12:52:18 PM(UTC)
 
I want to find underlined words in a pdf. PdfTextObject class doesn't show such information. How can I get those?