IfOpenImageWithGDIPlus

Description

Returns or sets whether to use GDI+ library to decode images when loading them.

Default value

true

Syntax

.IfOpenImageWithGDIPlus = true;

Parameters

None.

Return value

bool

true indicates success. false indicates failure.

When false is returned, check ErrorCode or ErrorString for error information.

Remarks

Windows GDI+ is a class-based API for C/C++ programmers. It enables applications to use graphics and formatted text on both the video display and the printer. Applications based on the Microsoft Win32 API do not access graphics hardware directly. Instead, GDI+ interacts with device drivers on behalf of applications. GDI+ is also supported by Microsoft Win64.

With GDI+, you can load some images which are not supported otherwise. However, please note that GDI+ library might be different on different OS. So an image might load on Win 7 but not Win XP.

Is this page helpful?

Leave a Reply

Your email address will not be published.