TdxSpreadSheetInsertPicture Class
An action object that corresponds to the InsertPicture command provided by the Spreadsheet and Report Designer controls.
Declaration
TdxSpreadSheetInsertPicture = class(
TdxSpreadSheetCustomContainerAction
)
Remarks
This class does not introduce any new public members. Executing this action object invokes the Insert Picture dialog, allowing an end-user to select a picture for creating a floating picture container in the active worksheet.
UI elements linked to a TdxSpreadSheetInsertPicture
action object are enabled only if the following conditions are met:
- Spreadsheet document editing is allowed (i.e., the control’s OptionsBehavior.Editing property is set to
True
). - An in-place cell editor is inactive (i.e., the active worksheet‘s IsEditing property returns
False
). - Floating container editing operations are allowed in the active worksheet (i.e., its OptionsProtection.ActualAllowEditContainers property returns
True
).
Inheritance
See Also