We are currently on version 126.96.36.199 of GroupDocs.Viewer for .NET.
We are using public ViewerImageHandler(ViewerConfig viewerConfig, CultureInfo cultureInfo); from the GroupDocs.Viewer.Handler namespace where we want to pass in the user’s Culture (i.e. if they’re from the UK for example, en-GB) so that when we use public FileContainer GetPdfFile(Stream fileStream, string fileName, PdfFileOptions pdfFileOptions); we can get the file converter to a PDF and with any dates formatted in the given culture. For example, if we have an xlsx file with a cell that is formatted based off of the user’s computer settings, we’d want that date to be formatted correctly when we get the converted PDF filestream for the original xlsx file. This wanted functionality doesn’t seem to be working, we noticed that there is a comment saying “The viewer culture. Supported cultures are en-Us, pt-PT and ru-RU.” Does this mean we can pass cultures from other regions and to fit formats associated with said regions? We also have noticed that the latest version of GroupDocs.Viewer has ViewerImageHandler on the path to deprecation, is there a new service we should use to get the desired functionality we want which is 1) Converting files into PDF streams for previewing purposes and 2) Having files converted and rendered correctly by taking in user Culture information for things such as date formats.
Thanks for any help!