Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

XRay

Sets or retrieves the value that indicates whether the content is displayed as a grayscale defined by the complement of the average red and green component values.

Examples

This sample sets the BasicImage filter to display the content of a DIV element in grayscale, using the complement of the average red and green component values.


<!-- This DIV is the target container for an image.  -->        
    <DIV ID="oDiv" STYLE="position:absolute; left:270px; color:tan;" >
        An Image - >    
        <IMG SRC='/workshop/graphics/earglobe.gif' />
    </DIV>
<BUTTON onclick=" oDiv.style.filter=
        'progid:DXImageTransform.Microsoft.BasicImage(XRay=1)'">
    Show XRay</BUTTON><BR/>
<BUTTON onclick="oDiv.style.filter=''">Clear Filter</BUTTON><BR/>

Requirements

Minimum supported client

Windows XP

Minimum supported server

Windows 2000 Server

DLL

Dxtmsft.dll

 

 

Show:
© 2015 Microsoft