GDIp_CreateFromHDC

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Modules > GDIp > Graphics >

GDIp_CreateFromHDC

 

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