Ask a Question related to Adobe Acrobat SDK, Design and Development.
-
set document properties How to set the document properties of pdf file like Author/Title using Acrobat IAC?
I assigned the property GetJSObject to an object variable
and tried using the property info.title. But it returns an error:
Dim jso as object
jso=gpddoc.GetJSObject
jso.info.title="xx"
The above code returns an error.
Please let me know how to assign the title property.
thanks,
sashi
[email protected] Guest
-
document array has no properties
Why doesn't DW8 like document arrays assigned to variables? Using the syntax, formInput = document.getElementsByTagName("input") Returns an... -
Document Properties using cos method
Hi, I want to get document properties like Page layout, Magnification and open number using Acrobat 6.0 SDK.I am able to get dictionary catalog.... -
Changing the Document Properties
Hi, I want to change the document properties like Page layout, Magnification... My code as shown below: AVPageView avPageView =... -
How to Save document properties
Hi, I am working on a project in which I have to set the properties in coding for a pdf document i.e Magnification, Initial view, pagelayout ,... -
Document properties default
Is there a way to have a custom set of document properties (initial view etc) applied to a set of PDFs - either by batch processing or just by... -
Re: set document properties There is a direct IAC method, SetInfo. Refer to table 10.2 in the PDF
Reference for valid Info dictionary keys.
Aandi Inston
[email protected] Guest
-
Re: set document properties I tried also the direct IAC method:
pdDoc.SetInfo("Title","XX") - the value "XX" should be assigned as
the Title name.
But when i checked the TITLE in the document properties it was 'Title' instead of the value 'XX'
Please let me know what the problem is..
thanks,
sashi
[email protected] Guest
- Bernd Alheit #4
Re: set document properties Read this:
<http://www.adobeforums.com/cgi-bin/webx/.3bbc4001/0>
Bernd Alheit Guest
-
Re: set document properties Ok, if that's broken, let's look at JSO:
GetJSObject returns a JSObject. You seem to be assuming that this is a>Dim jso as object
>jso=gpddoc.GetJSObject
>jso.info.title="xx"
PDDoc; it is not. The "working with annotations" example in the VB
JavaScript document shows an example of obtaining and working with a
PDDoc object, given the JSObject.
Aandi Inston
[email protected] Guest
-
Re: set document properties AS per your suggestion, i referred the VB Javascript document and altered the code, as seen below:
Dim n as object
Dim jso as object
jso=gpddoc.GetJSObject
n=jso.info
msgbox(n.Title)
This returned an error Public member 'Title' on type '_comObject' not found.
Please let me know how to use this method.
thanks,
sashi
[email protected] Guest
-
Re: set document properties I take back my reply after more reading. This does look valid.
Aandi Inston
[email protected] Guest




