version used : DocumentUltimate-v6.6.2.0
Dear Team ,
in older version we used below code for load documents using bytes[]
DocumentSource = new DocumentSource(
new DocumentInfo(Convert.ToString(docpath), filename), databyte )
now we user latest version of DocumentUltimate , just help me in this version how to load bytes to DocumentViewer (latest code below)
there was no option for load bytes[]
var model = new DocViewerModel()
{
DocViewer = new DocumentViewer()
{
SidePaneVisible = false,
Document = docpath,
PageFitMode = DocumentViewerPageFitMode.Zoom,
PageZoomLevel = 100,
},
};