Share via


dominantBaseline property

Sets or retrieves a value that determines or redetermines a scaled-baseline table.

 

Syntax

HRESULT value = object.put_dominantBaseline( v);HRESULT value = object.get_dominantBaseline(* p);

Property values

Type: BSTR

One of the values in the Property Values section.

String format

auto | use-script | no-change | reset-size | ideographic | alphabetic | hanging | mathematical | central | middle | text-after-edge | text-before-edge | inherit

CSS information

Applies To text content elements
Media visual
Inherited no
Initial Value auto

Standards information

Remarks

A scaled-baseline-table is a compound value that has three components: a baseline identifier for the dominant baseline, a baseline table, and a baseline table font-size. Some values of the property redetermine all three values; others only re-establish the baseline table font-size. When the default value, auto, gives an undesired result, this property can be used to explicitly set the desire scaled-baseline table.

Requirements

Minimum supported client

Windows Vista with SP1, Windows 7

Minimum supported server

Windows Server 2008 R2

Header

Mshtml.h

IDL

Mshtml.idl

DLL

Mshtml.dll

See also

IHTMLCSSStyleDeclaration::baselineShift