Layout-Related Objects Compatibility with Version 10
This section describes all changes to layout-related objects which may require changes in the source code of your applications.
| Object/Enumeration | Property/Method/Constant | What has happened? | Comment |
|---|---|---|---|
| Layout |
AddBlock InsertBlock |
Removed | Use the AddNew method of the LayoutBlocks object instead. |
| LayoutBlocks | The LayoutBlocks object cannot be an independent object, it exists only as a subobject of the Layout object. | ||
|
Add Insert |
Removed | Use the AddNew method instead. Methods of all collections have been renamed to be uniform. | |
|
Remove RemoveAll |
Renamed | The new names of the methods are DeleteAt, DeleteAll. Methods of all collections have been renamed to be uniform. | |
| CopyFrom | Removed | This method is no longer supported. You can copy the whole layout using the CopyFrom method of the Layout object, or manage block collections using the AddNew, DeleteAt, DeleteAll methods. | |
| TableCells | FindCellIndex | Renamed | The new name of the method is IndexOf. Methods of all collections have been renamed to be uniform. |
| TableCell | Name | Removed | Use the Name property of the Block object corresponding to the table cell. To avoid names confusion, only one Name must identify the table cell. |
| TableSeparators | Add | Removed | Use the AddNew method instead. Methods of all collections have been renamed to be uniform. |
| CheckmarkGroup |
AddCheckmark InsertCheckmark |
Removed | Use the AddNew method instead. Methods of all collections have been renamed to be uniform. |
| CopyFrom | Removed | This method is no longer supported. To copy the elements from another collection, you can use the AddNew method of the collection and the CopyFrom method of the CheckmarkBlock object. | |
| SeparatorGroup |
AddSeparator InsertSeparator |
Removed | Use the AddNew method instead. Methods of all collections have been renamed to be uniform. |
| CopyFrom | Removed | This method is no longer supported. To copy the elements from another collection, you can use the AddNew method of the collection and the CopyFrom method of the SeparatorBlock object. | |
| LayoutsCollection | Removed | The object is no longer in use. The methods that used this object have been changed or removed. See details for the methods that used this object. | |
| Block | BackgroundColor | Behavior changed | This property is now read-only. |
| BlockLayerType | Behavior changed | This property is now read-only. For RasterPictureBlock and VectorPictureBlock, the layer type can be changed using the SetBlockLayerType method. |
03.07.2024 8:50:10