Vcl.Graphics.TGraphic.Modified

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Modified: Boolean read FModified write SetModified;

C++

__property bool Modified = {read=FModified, write=SetModified, nodefault};

Properties

Type Visibility Source Unit Parent
property public
Vcl.Graphics.pas
Vcl.Graphics.hpp
Vcl.Graphics TGraphic

Description

Indicates whether the graphics object has been changed or edited.

If Modified is true, the graphic object has changed. If Modified is false, the graphics object is in the same state as when the object was loaded.

The Modified property indicates only if bitmap objects have been modified. Modified is not true if the graphics object contains an icon or metafile graphic, even if they have been modified.

If the graphics object was modified, save the changes to a file with the SaveToFile method. The next time the application runs, it can load the graphic from the file with the LoadFromFile method.