Export (0) Print
Expand All
top
Expand Minimize
This topic has not yet been rated - Rate this topic

perspectiveOrigin property

Gets or sets one or two values that represent the origin (the vanishing point for the 3-D space) of an object with an IHTMLCSSStyleDeclaration::perspective property declaration.

This property is read/write.

CSS Transforms Module, Level 3, Section 11Internet Explorer 10

Syntax

HRESULT put_perspectiveOrigin(
  [in]           BSTR v
);

HRESULT get_perspectiveOrigin(
  [out, retval]  BSTR *p
);

Property values

Type: BSTR

One or two of the following origin values, separated by whitespace.

String format

[ [ <percentage> | <length> | left | center | right ] [ <percentage> | <length> | top | center | bottom ] ? ] | [ [ left | center | right ] || [ top | center | bottom ] ]

CSS information

Applies Toblock-level and inline-level elements
Mediavisual
Inheritedno
Initial Value50% 50%

Standards information

Remarks

This property does not affect how the object is rendered.

This property has no effect on child elements if the IHTMLCSSStyleDeclaration::perspective property is not set for the object.

Do not use the Microsoft vendor prefix ("-ms-") before the IHTMLCSSStyleDeclaration::perspectiveOrigin property. It is supported unprefixed in Internet Explorer 10 and later.

To learn more about Cascading Style Sheets (CSS) transforms in Windows Internet Explorer, see How to bring your webpage to life with CSS transforms, transitions, and animations.

Requirements

Minimum supported client

Windows 8 [desktop apps only]

Minimum supported server

Windows Server 2012 [desktop apps only]

Header

Mshtml.h

IDL

Mshtml.idl

DLL

Mshtml.dll

See also

IHTMLCSSStyleDeclaration::transform
How to bring your webpage to life with CSS transforms, transitions, and animations

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.