CoordSize Image Example (VML)


Purpose

This example illustrates how the CoordSize 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:64pt;width:85pt" src="image1.jpg" cropbottom="13107f" cropright="9830f" coordsize="21600,21600" />
<v:image style="height:44pt;width:50pt" src="image1.jpg" cropbottom="29491f" cropleft=".5" coordsize="21600,21600" />
<v:image style="height:56pt;width:80pt" src="image1.jpg" croptop="19661f" cropright="13107f" coordsize="21600,21600" />
<v:image style="height:48pt;width:70pt" src="image1.jpg" croptop="26214f" cropleft="19661f" coordsize="21600,21600" />