共用方式為


rubyPosition property

Gets or sets a value that controls the position of the ruby text with respect to its base.

 

Syntax

Integer value = object.put_rubyPosition( v);Integer value = object.get_rubyPosition(* sRubyPlacement);

Property values

Type: BSTR

one of the values listed in Possible Values.

above (above)

Default. Ruby text is positioned above the base text.

inline (inline)

Ruby text is positioned inline with the base text.

String format

above | inline

CSS information

Applies To All elements
Media visual
Inherited no
Initial Value

Standards information

Remarks

The IHTMLCurrentStyle::rubyPosition property specifies the position of the ruby text defined by the rt object, and is set on the ruby object.

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows Server 2003

Header

Mshtml.h

IDL

Mshtml.idl

DLL

Mshtml.dll

See also

Reference

IHTMLCurrentStyle::rubyAlign

IHTMLCurrentStyle::rubyOverhang