Invert

Sets or retrieves the value that indicates whether the content is displayed as the complement of the RGB component values.

Examples

This sample sets the BasicImage filter to invert the RGB values of the content of a DIV element.


<!-- This DIV is the target container for an image.  -->        
    <DIV ID="oDiv" STYLE="position:absolute; left:270px;" >
        An Image - >    
        <IMG SRC='/workshop/graphics/earglobe.gif' />
    </DIV>
<BUTTON onclick="oDiv.style.filter=
        'progid:DXImageTransform.Microsoft.BasicImage(invert=1)'">
    Invert</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: