Print Page | Close Window

about path

Printed From: Debenu Quick PDF Library - PDF SDK Community Forum
Category: For Users of the Library
Forum Name: I need help - I can help
Forum Description: Problems and solutions while programming with the Debenu Quick PDF Library and Debenu PDF Viewer SDK
URL: http://www.quickpdf.org/forum/forum_posts.asp?TID=3249
Printed Date: 08 Nov 25 at 4:42PM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: about path
Posted By: nieguizhi
Subject: about path
Date Posted: 19 Jan 16 at 7:20AM
Hi, how can I extract the path of pdf file.

thank you!



Replies:
Posted By: Ingo
Date Posted: 19 Jan 16 at 9:26AM
Hi Niegu!

in Delphi/Pascal you can do it this way:
targetpath := ExtractFilePath(targetpath_and_file);
BTW: You can do it with any other filetype, too ;-)



-------------
Cheers,
Ingo



Posted By: nieguizhi
Date Posted: 26 Jan 16 at 7:21AM
Hi Ingo
how can I use the C++ DLL to extract the path in pdf document.

thank you very much!


Guizhi Nie 


Posted By: Ingo
Date Posted: 27 Jan 16 at 7:54PM
Hi Guizhi,

i don't know if i understand your strange question right.
First: You can't use "the C++ DLL" to extract the path of a pdf-document.
If you're a developer and if you're using C++ then you can use this syntax for path extraction on any file:
http://stackoverflow.com/questions/3071665/getting-a-directory-name-from-a-filename
[ i found this using google ;-) ]



-------------
Cheers,
Ingo



Posted By: nieguizhi
Date Posted: 29 Jan 16 at 1:35AM
Hi Ingo
I am sorry i do not have a clearly stated. I want to extract the path layer of pdf document.

thank you very much!


Guizhi Nie 


Posted By: Ingo
Date Posted: 29 Jan 16 at 5:06PM
Hi Guizhi,

all you need is already written in the Debenu-knowledgebase:
http://www.debenu.com/kb/extract-paths-from-a-pdf/
If you wanna do something with layers you should read about contentstreams and -groups:
http://www.quickpdf.org/forum/content-stream-layers_topic3061.html
http://www.debenu.com/docs/pdf_library_reference/ContentStreamsAndOptionalContentGroups.php



-------------
Cheers,
Ingo




Print Page | Close Window

Forum Software by Web Wiz Forums® version 11.01 - http://www.webwizforums.com
Copyright ©2001-2014 Web Wiz Ltd. - http://www.webwiz.co.uk