How to copy formatting from cell range

Hi,

I've a master sheet, where I am adding all the formatting information. Need help on following scenario;

Cell range : B2 - C2 with formatting applied.

Wish to copy all the formatting information from above mentioned cell range to a table with 2 columns (headers excluded). If possible, please send me a sample.

Regards, Vinay

Hi Vinay,

I think you may try Range.CopyStyle() method to copy the fromatting from the source range to other range of cells for your requirement.

See the document for reference:
http://www.aspose.com/documentation/.net-components/aspose.cells-for-.net/copy-range-style-only.html

Thank you.