TPNGImage help

TPNGImage

Components > TPNGList > Properties > ItemFromClass


Returns the first item from the chunk with the same class.

type
TChunkClass = class of TChunk;
property
ItemFromClass[ChunkClass: TChunkClass]: TChunk;

Description

Use ItemFromClass property to search and return the first item in the list using the same class from the parameter. For instance, ChunkClass parameter might be TChunkIDAT.