Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

GetPaintDC – PB Docs 2021 – PowerBuilder Library

GetPaintDC – PB Docs 2021

GetPaintDC

DataWindow expression function

Description

Returns the GDI context to which to draw.

Syntax

Return value

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

GetPaintRectHeight

GetPaintRectWidth

GetPaintRectX

GetPaintRectY

Paint


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