Search found 20 matches

by reisrf
Tue Jun 19, 2018 8:52 pm
Forum: Example requests & Code samples
Topic: How to know a PDF page has text (invisible / we can search) (from OCR or it was created by Word, Excel or any other tool
Replies: 3
Views: 97

Re: How to know a PDF page has text (invisible / we can search) (from OCR or it was created by Word, Excel or any other

PageHasText method is returning True even if in the page we have only special characeters like \r, \n, \l, .... I have created by own PageHasText, using GetPageText: string pageText = Regex.Replace(_gdPDF.GetPageText(), "[^0-9a-zA-Z]+", string.Empty).Trim(); return (pageText.Length == 0 ? false : tr...
by reisrf
Fri Jun 08, 2018 2:39 pm
Forum: General discussions
Topic: Framework 4.5 and 4.6 missing in 14.0.0.51
Replies: 1
Views: 86

Re: Framework 4.5 and 4.6 missing in 14.0.0.51

I have got an official answer: Hello, There is no need to provide specific GdPicture assembly for each supported .NET Framework version any more. The main assembly is now compiled to support every .NET Framework version from 4.0 to the latest 4.7.1 version. So, no matter what .NET Framework your app...
by reisrf
Thu Jun 07, 2018 11:38 pm
Forum: Example requests & Code samples
Topic: How to know a PDF page has text (invisible / we can search) (from OCR or it was created by Word, Excel or any other tool
Replies: 3
Views: 97

How to know a PDF page has text (invisible / we can search) (from OCR or it was created by Word, Excel or any other tool

I will receive some PDFs where some pages can have text (invisible) so we can search (example: PDFs created by OCR tools, or Office tools or others). And other pages where it will be a scanned image without ocr contents , so we can´t search. For the pages without OCR contents I need to apply OCR and...
by reisrf
Tue May 22, 2018 5:48 pm
Forum: General discussions
Topic: Framework 4.5 and 4.6 missing in 14.0.0.51
Replies: 1
Views: 86

Framework 4.5 and 4.6 missing in 14.0.0.51

2 days ago I have downloaded and install the 14.0.0.51. I have noticed I have now only one framework folder in the Redist folder, the Framework 4.0 is there, but 4.5 and 4.6 has gone. Is there some reason for this?

Do you have some date to release major version 15?

Thanks
Robson Reis
by reisrf
Wed Oct 11, 2017 4:47 pm
Forum: Example requests & Code samples
Topic: PDF - How to make a text fill a rectangle
Replies: 4
Views: 3308

Re: PDF - How to make a text fill a rectangle

Thanks for the snippet. It worked perfectly !!!!

Many thanks. Great support we get from GDPicture. As always!
by reisrf
Wed Oct 11, 2017 3:37 pm
Forum: Example requests & Code samples
Topic: PDF - How to make a text fill a rectangle
Replies: 4
Views: 3308

Re: PDF - How to make a text fill a rectangle

Thanks I will try soon. Just need to convert to C# .
by reisrf
Sun Oct 01, 2017 2:19 am
Forum: Example requests & Code samples
Topic: PDF - How to make a text fill a rectangle
Replies: 4
Views: 3308

PDF - How to make a text fill a rectangle

I have a PDF and I need to write a text inside a rectangle, but I want the letters of the text to fill the full rectangle area. Please see the attachment for the example How can I use the rectangle coordinates to calculate the SetTextSize and SetTextScalling parameters to be used? Right now I am usi...
by reisrf
Mon Jun 15, 2015 7:06 pm
Forum: Feature Requests
Topic: Showing more the one page (scrolling)
Replies: 10
Views: 4377

Re: Showing more the one page (scrolling)

Romain, thanks for the reply. Do you have any idea when this future release with this functionality can come? 1 month? 1 year? Thanks
by reisrf
Fri Jun 12, 2015 1:50 pm
Forum: Example requests & Code samples
Topic: How to scroll the image to a make a region visible
Replies: 10
Views: 1152

Re: How to scroll the image to a make a region visible

I have found I had an old GDPicture dll in the path. Now I have the latest and I can find the EnsureRegionVisibility. THANKS!
by reisrf
Thu Jun 11, 2015 9:09 pm
Forum: Example requests & Code samples
Topic: Positioning a C# panel just bellow an annotation
Replies: 3
Views: 648

Positioning a C# panel just bellow an annotation

I have a windows form with a gdviewer. On this gdViewr I am loading a PDF and the user can add annotations. When the user select one annotation, I would like to position a C# panel just below the annotation selected. The problem is, I have the annotation rectangle info (left, top, width, right), but...
by reisrf
Thu Jun 11, 2015 9:03 pm
Forum: Feature Requests
Topic: Showing more the one page (scrolling)
Replies: 10
Views: 4377

Showing more the one page (scrolling)

I have a PDF with multiple pages. I am displaying it using the GDViewer. The GDviewer shows only one page at a time. Is there some way to enable the scroll and allow the user to scroll and see for instance, end of page 1 and the begin of page 2? Like Adobe reader allows when we select View-Page Disa...
by reisrf
Sun May 31, 2015 2:02 pm
Forum: Example requests & Code samples
Topic: How to scroll the image to a make a region visible
Replies: 10
Views: 1152

Re: How to scroll the image to a make a region visible

Just correcting my previous reply, in the documentation I CAN FIND the method EnsureRegionVisibility. But in the class I can't.
by reisrf
Sun May 31, 2015 2:50 am
Forum: Example requests & Code samples
Topic: How to scroll the image to a make a region visible
Replies: 10
Views: 1152

Re: How to scroll the image to a make a region visible

I can´t find in the documentation:
GdPicture11 Namespace > GdViewer Class : EnsureRegionVisibility Method

But when I write
gdViewer1. , in the intelisense I can see

...
EnableTextSelection
EndInvoke NO EnsureRegionVisibility
Enter
Equals
...