Hello,
We currently have a problem regarding the rendering of pictures that contain styles, please observe the attached output image (‘Output.png’).
This is the code used to render to a PNG image:
var workbook = new Workbook(@“Pictures.xlsx”);<span style="color:blue;">var</span> imageOptions = <span style="color:blue;">new</span> <span style="color:#2b91af;">ImageOrPrintOptions</span> { Quality = 100, VerticalResolution = 200, HorizontalResolution = 200, PrintingPage = <span style="color:#2b91af;">PrintingPageType</span>.IgnoreBlank, ImageFormat = <span style="color:#2b91af;">ImageFormat</span>.Png, OnePagePerSheet = <span style="color:blue;">true</span> }; <span style="color:blue;">var</span> worksheet = workbook.Worksheets[0]; worksheet.PageSetup.PrintArea = <span style="color:blue;">string</span>.Format(<span style="color:#a31515;">"A1:N30"</span>); worksheet.PageSetup.TopMargin = 0; worksheet.PageSetup.LeftMargin = 0; worksheet.PageSetup.RightMargin = 0; worksheet.PageSetup.BottomMargin = 0; <span style="color:blue;">var</span> sheetRender = <span style="color:blue;">new</span> <span style="color:#2b91af;">SheetRender</span>(worksheet, imageOptions); sheetRender.ToImage(0, <span style="color:#a31515;">@"Output.png"</span>);<br><br><br>It seems that Aspose.Cells does not provide support for rendering Picture Styles. <br>Is this feature planned for development in the near future? as or product is requiring this.<br><br><br><br>Thank you,<br>Bogdan Rusu,<br>IBM Romania.<br><br><br><br><br></pre><br>