Skip to content

SetWatermarkBitmapFromFile Method

Description

Sets a watermark bitmap to be shown in the Grid control background using a bmp file.

Syntax

Public Function SetWatermarkBitmapFromFile( _
    ByVal Path As String, _
    ByVal Transparency As Integer _
) As Boolean

Parameters

  • Path:
    Path to the bitmap file (bmp) to use for the watermark.

  • Transparency:
    Level of transparency. Values can be 0 - 255 with 0 being totally transparent and 255 being totally visible.

Return Type

Returns True if the watermark bitmap was successfully added or removed; otherwise, returns False.

See Also


Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.