Gain Image Example (VML)


Purpose

This example illustrates how the Gain attribute can affect the appearance of a VML image shape.

Example


Code

<!-- Include the VML behavior -->
<style>v\: * { behavior:url(#default#VML);display:inline-block }</style>

<!-- Declare the VML namespace -->
<xml:namespace ns="urn:schemas-microsoft-com:vml" prefix="v" />

<v:image style="height:80pt;width:100pt" src="image1.jpg" coordsize="21600,21600" />
<v:image style="height:80pt;width:100pt" src="image1.jpg" gain="0" coordsize="21600,21600" />
<v:image style="height:80pt;width:100pt" src="image1.jpg" gain=".5" coordsize="21600,21600" />
<v:image style="height:80pt;width:100pt" src="image1.jpg" gain="3" coordsize="21600,21600" />
<v:image style="height:80pt;width:100pt" src="image1.jpg" gain="-26214f" coordsize="21600,21600" />