Viewer

Sep 13, 2008 at 7:44 PM
Paul -

Does this library allow us to use the Viewer at all? I'm returning a list of documents to a GridView and have a selected row event to capture the DocumentId.

I can therefore write the API javascript code for the Viewer directly to my page: http://www.scribd.com/publisher/api?method_name=Javascript+API

I just wanted to check before I used this method.

cheers,

Steve
Coordinator
Sep 14, 2008 at 3:08 PM
Steve -

Not really.  This library is meant as a wrapper for the Scribd API function calls.  However, I've added a helper function, Document.GetEmbedCode(), to return the code to display a given document in your webpage.  (Sourced from: http://www.scribd.com/tools/embed_simple)

Hope that helps.

- Paul
Coordinator
Sep 14, 2008 at 4:43 PM
I've added a new demonstration project for the web in the source code.

- Paul