Search found 6 matches

by indxlogic
Wed Feb 14, 2018 2:16 pm
Forum: General discussions
Topic: Determine Format from Stream
Replies: 2
Views: 5812

Determine Format from Stream

I have a viewer that will routinely open PDF or TIFF documents from a stream. Previously, I would use var _fmt = GdPictureImaging.GetDocumentFormatFromStream(_stream) to determine the format. I would then open the stream with the appropriate method either: GdPicturePDF.LoadFromStream(_stream) or GdP...
by indxlogic
Mon Nov 06, 2017 1:44 pm
Forum: PDF
Topic: Merging Documents
Replies: 3
Views: 3875

Re: Merging Documents

Thanks. That was an awfully silly mistake on my part. A secondary question would be; why didn't the call to clone page[0] fail if the array of pages is 1 based? It appears that it treated page[0] and page[1] as the same page. As a developer I would certainly prefer the call to page[0] fail.
by indxlogic
Fri Nov 03, 2017 3:54 pm
Forum: PDF
Topic: Merging Documents
Replies: 3
Views: 3875

Merging Documents

I am having issues with merging documents. Here is the code var oLicenceManager = new LicenseManager(); oLicenceManager.RegisterKEY("XXXXXXXXXXXXXXXXXXXX"); var PdfSource = new GdPicturePDF(); var PdfDest = new GdPicturePDF(); var selected = new List<string> {@"z:\Users\mmorvant\Deskt...
by indxlogic
Tue Feb 25, 2014 6:01 pm
Forum: PDF
Topic: Selecting Text from a PDF
Replies: 1
Views: 2901

Selecting Text from a PDF

I am currently using v9 of the GdPicture Suite. I have a client that would like to be able to select text from a PDF document and then perform some action based on that text. An example would be to select a name and then perform an external search from the application hosting the GdPicture component...
by indxlogic
Wed Aug 22, 2012 4:30 pm
Forum: Feature Requests
Topic: IEnumerable Page Collection
Replies: 1
Views: 11465

IEnumerable Page Collection

I would love to have an IEnumerable collection of page objects for all pages in a document. This would make operations on multiple pages much (much) simpler.
by indxlogic
Wed Aug 22, 2012 4:26 pm
Forum: Document Viewing
Topic: Deleting multiple pages
Replies: 1
Views: 12176

Deleting multiple pages

I have created a basic document viewer with a thumbnail view on the side. I am giving my clients the option to select multiple pages and delete them from a document. I have not found a way to do this as easily as I would like. What I am currently doing is creating a for loop from 0 -> page count and...