Navigation:  ThinBASIC Modules > GDIp > Graphics >

GDIp_CreateFromHDC

Previous pageReturn to chapter overviewNext page

 

Description

 

Create a Graphics object from a Device Context (DC).

 

Syntax

 

hGraphics = GDIp_CreateFromHDC(hDC)

 

Returns

 

Pointer to a Graphic object

 

Parameters

 

Name

Type

Optional

Meaning

hDC

Number

No

A pointer to a Device Context (DC).

 

Remarks

 

About DC: https://docs.microsoft.com/en-us/windows/desktop/gdi/device-contexts

 

 

Restrictions

 

See also

 

Examples