type property
[This documentation is preliminary and is subject to change.]
Gets the style sheet language of the style element's contents.
Syntax
HRESULT value = object.get_type(short* p);
Property values
Type: short
A style sheet language.
Standards information
- Scalable Vector Graphics: Styling, Section 6.18.1
Remarks
The type property specifies the style sheet language of the style element's contents. The style sheet language is specified as a content type (for example, "text/css"
).
If you do not provide a type, the value of contentStyleType
on the svg element is used, which defaults to "text/css"
. If a style element falls outside of the outermost svg element and you do not provide the type, the value of contentStyleType
on the type element defaults to "text/css"
.
Build date: 1/26/2012