DataWeb
Search Results for

    Show / Hide Table of Contents

    Interface IPdfService

    Interface for a Pdf service.

    Namespace: DataWeb.Reporting
    Assembly: DataWeb.Core.dll
    Syntax
    public interface IPdfService

    Properties

    Name

    Gets the name of the Pdf service.

    Declaration
    string Name { get; }
    Property Value
    Type Description
    string

    Methods

    HtmlToStreamAsync(string, PdfOptions, CancellationToken)

    Converts Html to a Pdf and returns the result as a stream.

    Declaration
    Task<Stream> HtmlToStreamAsync(string html, PdfOptions options = null, CancellationToken cancellationToken = default)
    Parameters
    Type Name Description
    string html

    The Html to convert.

    PdfOptions options

    The Pdf options.

    CancellationToken cancellationToken
    Returns
    Type Description
    Task<Stream>

    A task representing the asynchronous conversion operation that returns a stream.

    In this article
    Back to top Generated by DocFX