[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.Viewer.Common.Internal.BaseApplicationContext.CreateRenderer

CreateRenderer Method

CreateRenderer(DocumentModel)

Returns implementation of GraphicsDocumentRenderer

Declaration
public IDocumentRenderer CreateRenderer(DocumentModel document)
Parameters
Type Name Description
DocumentModel document
Returns
Type Description
IDocumentRenderer

CreateRenderer(DocumentModel, DeviceKind)

Creates a document renderer for the specified document and device kind.

Declaration
public IDocumentRenderer CreateRenderer(DocumentModel document, DeviceKind device)
Parameters
Type Name Description
DocumentModel document

The document model for which to create the renderer.

DeviceKind device

The target device kind for rendering.

Returns
Type Description
IDocumentRenderer

An GrapeCity.Viewer.Common.IDocumentRenderer instance for the specified document and device.