Search found 7 matches

by truane
Thu Jul 28, 2016 2:05 pm
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: Unable to read \Annots to get file attachment from page
Replies: 5
Views: 7154

Re: Unable to read \Annots to get file attachment from page

Yes after my last message I went back to documentation and noticed PXCp_ObjectGetBody tired it and it works. if PXCp_ObjectGetDictionary returns 0 for dictionary ref then call PXCp_ObjectGetBody? Sorry for wasting your time I got so involved in implementing i didn't have time to write back and tell ...
by truane
Thu Jul 28, 2016 11:44 am
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: Unable to read \Annots to get file attachment from page
Replies: 5
Views: 7154

Re: Unable to read \Annots to get file attachment from page

i would agree but tracker says it is object result =XcPro40Defs.PXCp_VariantGetType(variant, out nefvType); nefvType = PVT_OBJREF not PVT_ARRAY so have to do XcPro40Defs.PXCp_VariantGetObject(variant, out pxcObject); and there is no PXCp_ObjectGetArray(pxcObject, out array); only PXCp_ObjectGetDicti...
by truane
Wed Jul 27, 2016 1:47 pm
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: Unable to read \Annots to get file attachment from page
Replies: 5
Views: 7154

Unable to read \Annots to get file attachment from page

I'm using C# Ok so i have used the low level API to navigate all the way down to /Annots on the page without any issue and get Dictionary (7061184) \Pages\Kids[3]\Kids[7] :- Type(PVT_NAME = 'Page' ), Annots(PVT_OBJREF = 'Is Dictionary' ) , Parent(PVT_OBJREF = 'Is Dictionary' ), Rotate(PVT_INT = '0'...
by truane
Thu Apr 21, 2011 1:38 pm
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: PXCp_StreamEncode
Replies: 3
Views: 1840

Re: PXCp_StreamEncode

Hi

Thanks for your response but I create the stream using the API as follows. Its not a windows stream its a PDF stream

Code: Select all

            int objRef;
            PXCp_ObjectCreateNew(pdfRef, out objRef);

            int refStream;
            PXCp_StreamCreate(out refStream, objRef);
by truane
Wed Apr 20, 2011 1:21 pm
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: PXCp_StreamEncode
Replies: 3
Views: 1840

PXCp_StreamEncode

Hi Can anybody help or even an example of PXCp_StreamEncode using C# I'm trying to call PXCp_StreamEncode(streamref, FilterType.ft_Flate, cparam); streamref is a new stream I have created and written to already. But when I do the above call I get an error code of invalid parameters The method and da...
by truane
Tue Apr 12, 2011 9:29 am
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: How can i add an Embed a file into a PDF
Replies: 2
Views: 1647

How can i add an Embed a file into a PDF

Hi all I need help in embedding a file into a PDF. I can't seem to find anything in the SDK help or on the forum on how to do this I know iText supplies a simple function 'pdfFileSpecification.fileEmbeded ' is there something as simple as this for XCPRO40 or can some one supplies a bit of sample cod...
by truane
Tue Dec 07, 2010 4:33 pm
Forum: PDF-Tools SDK (all our PDF DLL Libraries)
Topic: Portfolio PDF Files
Replies: 3
Views: 2170

Re: Portfolio PDF Files

I don't suppose there is any sample code Knocking around for this is there