HBCMS更多的中文手册参考:

sizingMethod Attribute | sizingMethod参数属性

DHTML文档教程

Sets or retrieves the manner in which to display an image within the boundary of the object that the alphaimageloader filter is applied to.

dhtml语法

html
{ filter:progid:dximagetransform.microsoft.alphaimageloader(
    sizingmethod = ssize ... ) ... }
scripting
object.filters.item(
    "dximagetransform.microsoft.alphaimageloader").sizingmethod [ = ssize ]

dhtml可能的值

sSizeString that specifies or receives one of the following values.
cropClips the image to fit the dimensions of the object.
imageDefault. Enlarges or reduces the border of the object to fit the dimensions of the image.
scaleStretches or shrinks the image to fill the borders of the object.

The property is read/write. The property has a default value of image.

DHTML代码范例

This example shows how to use the AlphaImageLoader filter to load an image that is stretched to fill a DIV object's fixed dimensions.

<!-- This DIV is the target container for the filter.  -->
<DIV ID="oDiv" STYLE="position:relative;  width:200px; height:20px;
filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(
src='../common/earglobe.gif', sizingMethod='scale');" >
The World
</DIV>

Applies To

AlphaImageLoader

更多语法参考

src