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; returns False otherwise.
See Also
- GridControl Control
- SetWatermarkBitmap Method
- XTPGridWatermarkAlignment Enumeration
- WatermarkAlignment Property
Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.