MapWinGIS:Image UseTransparencyColor

This is a back-up of the WIKI.
Not all links might work
We're working on a new wiki.

Main Page | Recent changes | View source | Page history | Log in / create account |

Printable version | Disclaimers | Privacy policy

UseTransparencyColor

Gets or sets whether or not the transparency color is being used when the image is displayed.


VB.NET Usage

Property UseTransparencyColor() As Boolean

            Parameters

ReturnValue

A boolean value representing whether the transparency color is being used when the image is displayed.

Sample Code

    Private Sub UseTransparencyColor()
        Dim image As New MapWinGIS.Image()
        'Check if the transparency color is being used when the image is displayed
        If image.UseTransparencyColor Then
            'Set the image not to use the transparency color
            image.UseTransparencyColor = False
        Else
            'Set the image to use the transparency color
            image.UseTransparencyColor = True
        End If
    End Sub
  

VB 6 Usage
Property UseTransparencyColor() As Boolean
            Parameters

ReturnValue

A boolean value representing whether the transparency color is being used when the image is displayed.

Sample Code

    Private Sub UseTransparencyColor()
        Dim image As New MapWinGIS.image
        'Check if the transparency color is being used when the image is displayed
        If image.UseTransparencyColor Then
            'Set the image not to use the transparency color
            image.UseTransparencyColor = False
        Else
            'Set the image to use the transparency color
            image.UseTransparencyColor = True
        End If
    End Sub

Retrieved from "http://mapwindow.org/wiki/index.php/MapWinGIS:Image_UseTransparencyColor"

This page has been accessed 1,471 times. This page was last modified on 9 November 2005, at 16:51.