Problem with setting Page breaks in excel

I am trying to set the Page Braeks. Here is snippet

// Vertical PageBreak
int iVerticalPageBreak = 8;
VPageBreaks objVPageBreaks = m_workSheet.getVPageBreaks();
//int iVPageBreak = objVPageBreaks.add(iVerticalPageBreak);
int iVPageBreak = objVPageBreaks.add("H30");

After this I am seeing 3 page breaks. Also tried with the following code

VPageBreak objVPageBreak = objVPageBreaks.get(iVPageBreak);
objVPageBreak.setColumn(iVerticalPageBreak);

Also tried

m_workSheet.addPageBreaks(iHorizontalPageBreak, iVerticalPageBreak);

But page breaks are not set being set at column 8.


This message was posted using Aspose.Live 2 Forum

Hi,

Which version of the product you are using. Please try the attached latest version/fix. We have tested and it works fine.

If you still find the issue, kindly provide us sample code with template files.

Thank you.

Thank you for the response.

It is working fine now.

Regards

Praveen

Hi,

Please try this new fix v2.1.1.26 (attached) instead of v2.1.1.23 (we posted previously) because there is a known bug in the fix v2.1.1.23 as we tested and fixed in the new fix v2.1.1.26.


Thank you.