[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] | Reference for unit 'Graphics' (#lcl)

# TSharedPortableNetworkGraphic

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

TSharedPortableNetworkGraphic - a reference counted PNG Image.

## Declaration

Source position: graphics.pp line 1500

`type TSharedPortableNetworkGraphic = class(TSharedCustomBitmap)`

## Inheritance

`TSharedPortableNetworkGraphic` |  | TSharedPortableNetworkGraphic - a reference counted PNG Image.
`TSharedCustomBitmap` |  | Implements the base class for a reference-counted shared image.
`TSharedRasterImage` |  | Implements a reference counted raster image that may be shared between controls.
`TSharedImage` |  | Specifies the base class for reference-counted shared images.
`TObject`

## Description

TSharedPortableNetworkGraphic is a TSharedCustomBitmap descendant which implements a reference counted PNG image. TSharedPortableNetworkGraphic is the type returned by the GetSharedImageClass method in TPortableNetworkGraphic.

## See also

TSharedCustomBitmap |  | Implements the base class for a reference-counted shared image.
TPortableNetworkGraphic.GetSharedImageClass |  | Gets the class reference used to create new shared image instances in the class.