New topic: 

Dictionary key/value pairs into ListBox?

<http://forums.realsoftware.com/viewtopic.php?t=46176>

         Page 1 of 1
   [ 1 post ]                 Previous topic | Next topic          Author  
Message        Tommyknockers          Post subject: Dictionary key/value pairs 
into ListBox?Posted: Sat Dec 08, 2012 5:22 am                                 
Joined: Sun Jul 15, 2007 3:12 am
Posts: 118
Location: Denmark, Europe                Hi all,

I'm creating an app that needs to read a PDF-file and use some if it's metadata 
like number of pages, author and so on. I'm using MonkeyBreads 
PDFDocumentMBS.documentAttributes to get that info, but my question is not 
related to the MBS plug-in.

It's related to the Dictionary that the documentAttributes method creates from 
the PDF-file. While developing the app, I need to see the values in that 
Dictionary, so I later can pick the ones I need to use.

Is there a quick-and-dirty way to pour all the key/value pairs from a 
Dictionary, into rows in a two-column ListBox? I don't even need the keys - I 
can guess those - if it's easier to just load the values into a one-column 
ListBox or even a TextArea ... or multiline Label for that matter? 

I simply need to see what metadata the documentAttributes method reads from my 
various PDF's, but I haven't really worked with Dictionaries before, so this 
will be a great way to learn about them :)

Thank you all in advance, I hope you're all having a great weekend!      
_________________
REAL Studio 2012 Pro (Release 1.2) on a 17" MacBook Pro running Mac OS X 
Mountain Lion.  
                             Top             Display posts from previous: All 
posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost 
timeSubject AscendingDescending          Page 1 of 1
   [ 1 post ]      
-- 
Over 1500 classes with 29000 functions in one REALbasic plug-in collection. 
The Monkeybread Software Realbasic Plugin v9.3. 
http://www.monkeybreadsoftware.de/realbasic/plugins.shtml

[email protected]

Reply via email to