Sign in Join
FPDoc Onlineexperiment

TDBImage.WriteHeader property

Member of TDBImagepublishedIn unit DBCtrls

Write a header in the image stream.

Declaration

pascal
property WriteHeader: Boolean read FWriteHeader write FWriteHeader default True;

Description

The WriteHeader property controls whether or not a header will be written to the image stream. By default a header will be written. This helps to efficiently identify the image format when loading. The writing of a header in the image stream could be a problem if the database will be shared with external applications that do not expect a header in the image stream. In this case, set WriteHeader value to False in order to skip the header writing.

The default value is True.

Note: The WriteHeader value is ignored if the OnDbImageWrite event is implemented.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.