Help Center

GdipSetImageAttributesCachedBackgroundfunction

Sets or clears the *CachedBackground* member of a specified **GpImageAttributes** object. Microsoft Windows GDI+ does not use the *CachedBackground* member, so calling this function has no effect.

Graphicsfunctiondocumented

Syntax

DECLARE FUNCTION GdipSetImageAttributesCachedBackground (BYVAL imageattr AS GpImageAttributes PTR, BYVAL enableFlag AS BOOL) AS GpStatus

Parameters

NameDescription
imageattr[in] Pointer to the ImageAttributes object.
enableFlag[in] Boolean value that specifies whether the CachedBackground member is set (TRUE) or cleared (FALSE).

Description

Sets or clears the CachedBackground member of a specified GpImageAttributes object. Microsoft Windows GDI+ does not use the CachedBackground member, so calling this function has no effect. The imageattr parameter specifies the GpImageAttributes object. The enableFlag parameter specifies whether the CachedBackground member is set (TRUE) or cleared (FALSE).

Reference

  • Defined in AfxNova/AfxGdiPlus.bi:2153
  • Documented in Graphics/GdiPlus Flat Api/GdiPlusImageAttributes.md
  • Topic: ImageAttributes Functions