Class PdfRendererProvider
- Namespace
- Dynamicweb.Imaging.Providers
- Assembly
- Dynamicweb.Core.dll
Provides functionality to render pdf documents from specified content.
public abstract class PdfRendererProvider
- Inheritance
-
PdfRendererProvider
- Inherited Members
Methods
RenderFromContent(PdfContent, PdfRendererSettings)
Renders a pdf document from specified content.
public abstract byte[] RenderFromContent(PdfContent content, PdfRendererSettings settings)
Parameters
content
PdfContentContent settings.
settings
PdfRendererSettingsPdf renderer settings.
Returns
- byte[]
Pdf document as byte sequence.
RenderFromRequest(PdfRequest, PdfRendererSettings)
Renders a pdf document from a request.
public abstract byte[] RenderFromRequest(PdfRequest request, PdfRendererSettings settings)
Parameters
request
PdfRequestContent request settings.
settings
PdfRendererSettingsPdf renderer settings.
Returns
- byte[]
Pdf document as byte sequence.