Help Center

GdipDisposeImageAttributesfunction

Disposes the specified **ImageAttributes** object.

Graphicsfunctiondocumented

Syntax

FUNCTION GdipDisposeImageAttributes (BYVAL imageattr AS GpImageAttributes PTR) AS GpStatus

Parameters

NameDescription
imageattr[in] Pointer to the ImageAttributes object to dispose.

Description

Disposes the specified ImageAttributes object.

Example

DIM imgAttr AS GpImageAttributes PTR DIM hStatus AS LONG

' // Create the ImageAttributes object hStatus = GdipCreateImageAttributes(@imgAttr)

' // ... apply adjustments, use in rendering ...

' // Dispose when done IF imgAttr THEN hStatus = GdipDisposeImageAttributes(imgAttr) END IF

Reference

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