GetPaintDC – PB Docs 126

GetPaintDC DataWindow expression function

Description

Returns the GDI context to which to draw.

Syntax

Return Values

UnsignedLong.

Usage

The clip region of the GDI context is guaranteed to be the
same as the rectangle defined by GetPaintRectHeight, GetPaintRectWidth, GetPaintRectX,
and GetPaintRectY.

You can also use the GetClipBox GDI function. You can compute
the bounds inside the global rendering function itself.

The GetPaintDC expression is only valid
in the context of the Paint expression function.

Examples

This example draws a cube with the text of the column
emp_lname.

See Also


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x