copy method

copy

Copies data from another style object

def copy(self, style):
    ...
ParameterTypeDescription
styleStyleSource Style object

Remarks

This method does not copy the name of the style. If you want to copy the name, please call the following codes after copying style: destStyle.Name = style.Name.

See Also