次の方法で共有


AmbientAttributes.clippingColor

[The feature associated with this page, Windows Media Player SDK, is a legacy feature. It has been superseded by MediaPlayer. MediaPlayer has been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer instead of Windows Media Player SDK, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

The clippingColor attribute specifies or retrieves the color to clip out from the clippingImage bitmap.

        elementID.clippingColor

Possible Values

This attribute is a read/write String.

Value Description
Auto Default. The color at pixel location 0,0 is used.
any Microsoft Internet Explorer color value The specified Internet Explorer color is used.

Remarks

The clipping color indicates the regions of the clippingImage (or backgroundImage for VIEW or SUBVIEW) that correspond to transparent, non-clickable portions of the control. The clipping color can indicate multiple regions to be clipped out. A warning is issued if the clippingImage is a JPG to warn of loss of color in JPGs.

The clippingColor attribute is not supported by the PLAYLIST element.

Requirements

Requirement Value
Version
Windows Media Player version 7.0 or later

See also

Ambient Attributes

AmbientAttributes.clippingImage

Color Reference