VB constants in WIL equivalence
Keywords: VB constants in WIL equivalence
Question:
I got the constants below from the Acrobat SDK for VB.
What is the Winbatch equivalent of &H10 etc please.
Thanks in advance.
PDDocWasRepaired = &H10 ;/* document was repaired when opened (get only) */
PDDocNewMajorVersion = &H20 ;/* document major version newer than current (get only) */
PDDocNewMinorVersion = &H40 ;/* document minor version newer than current (get only) */
PDDocOldVersion = &H80 ;/* document version older than current (get only) */
PDDocSuppressErrors = &H100 ;/* don;t display errors (get/set) */
PDDocIsEmbedded = &H200 ;/* document is embedded in a compound doc (OLE, OpenDoc) */
PDDocIsLinearized = &H400 ;/* document is linearized (get only) */
PDDocIsOptimized = &H800 ;/* document is optimized */
Answer:
Just have to convert hex to decimal.
The Windows Calcualtor can do this.
Here it is...
PDDocWasRepaired = 16 ;&H10 document was repaired when opened (get only)
PDDocNewMajorVersion = 32 ;&H20 document major version newer than current (get only)
PDDocNewMinorVersion = 64 ;&H40 document minor version newer than current (get only)
PDDocOldVersion = 128 ;&H80 document version older than current (get only)
PDDocSuppressErrors = 246 ;&H100 don;t display errors (get/set)
PDDocIsEmbedded = 512 ;&H200 document is embedded in a compound doc (OLE, OpenDoc)
PDDocIsLinearized = 1024 ;&H400 document is linearized (get only)
PDDocIsOptimized = 2048 ;&H800 document is optimized
Article ID: W15182