2.3.4.29 scriptLang

The scriptLang property specifies the language of the script on a shape.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

opid

scriptLang

...

opid (2 bytes): An OfficeArtFOPTEOPID record, as defined in section 2.2.8, that specifies the header for this property. The following table specifies the subfields.

Field

Meaning

opid.opid

A value that MUST be 0x0398.

opid.fBid

A value that MUST be 0x0.

opid.fComplex

A value that MUST be 0x0.

scriptLang (4 bytes): A signed integer that specifies the scripting language. The value MUST be one of the values in the following table. The default value for this property is 0x00000001.

Value

Meaning

0x00000001

JavaScript

0x00000002

VBScript

0x00000003

Active Server Pages (ASP)

0x00000004

Other language, which MUST be specified in the wzScriptLangAttr_complex property