HotXLS Docs

TXLSOfficeArtOptions class

Unit: lxDraw
Provides low-level access to a shape's OfficeArt FOPT option table. Use this object when Excel-authored drawings carry option PIDs that do not yet have a dedicated HotXLS high-level property.

Declaration

TXLSOfficeArtOptions = class
  procedure Delete(Pid: Word);
  property IsDefined[Pid: Word]: Boolean;
  property LongValue[Pid: Word]: LongWord;
  property WideStringValue[Pid: Word]: WideString;
end;

Members

Member Description
IsDefined Returns True when the shape's FOPT table contains the specified PID.
LongValue Reads or writes a 32-bit value for the specified PID.
WideStringValue Reads or writes a complex Unicode string value for the specified PID.
Delete Removes the specified PID from the shape's FOPT table.

Notes

This is an expert API. Existing properties such as Line and Fill remain the preferred interface for common drawing formatting. Use numeric OfficeArt PIDs only when the file-format behavior is known.