Vcl.Imaging.pngimage.TPngImage.AddzTXt
Delphi
procedure AddzTXt(const Keyword, Text: AnsiString);
C++
void __fastcall AddzTXt(const System::AnsiString Keyword, const System::AnsiString Text);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | Vcl.Imaging.pngimage.pas Vcl.Imaging.pngimage.hpp |
Vcl.Imaging.pngimage | TPngImage |
Description
Add a compressed textual key-value pair to the png image meta-data.
Call AddzTXt to add a key-value pair metadata text to the png image. The Keyword parameter represents the key, while the Text parameter represents the value in the key-value pair. The added textual information can be later used by other applications to take certain actions.
AddzTXt differs from AddtEXt by the fact that the added key-value pair is compressed in the resulting png image file.