Skip to content

peWatermarkAlignment - cCJGrid

Determines the alignment of the grid's watermark

Type: Property
Access: Read/Write
Data Type: xtpGridWatermarkAlignment
Parameters: None

Syntax

Property xtpGridWatermarkAlignment peWatermarkAlignment
Access Type Syntax
Read Access: Get peWatermarkAlignment to xtpGridWatermarkAlignmentVariable
Write Access: Set peWatermarkAlignment to xtpGridWatermarkAlignmentVariable/Value

Description

The watermark is a bitmap image that is displayed in the grid's background behind all other data and visual effects.

Valid values are:

Constant Meaning
xtpReportWatermarkUnknown Unknown (empty) value.
xtpReportWatermarkLeft Horizontal alignment: left side of report control client rect.
xtpReportWatermarkCenter Horizontal alignment: center of report control client rect.
xtpReportWatermarkRight Horizontal alignment: right side of report control client rect.
xtpReportWatermarkHMask A mask for horizontal alignment flags.
xtpReportWatermarkTop Vertical alignment: top side of report control client rect.
xtpReportWatermarkVCenter Vertical alignment: center of report control client rect.
xtpReportWatermarkBottom Vertical alignment: bottom side of report control client rect.
xtpReportWatermarkVMask A mask for vertical alignment flags.
xtpReportWatermarkStretch Stretch watermark to entire report control client rect.
xtpReportWatermarkEnlargeOnly Watermark can be enlarged only, shrinking is disabled.
xtpReportWatermarkShrinkOnly Watermark can be shrunk only, enlarging is disabled.
xtpReportWatermarkPreserveRatio Watermark aspect ratio is preserved.

Send the SetWatermark message to display a bitmap as the grid watermark.