Skip to content

UseWKHtmlToPdfAttribute class

namespace: Serenity.Reporting   assemblySerenity.Net.Services

Marks a report to determine if it should use WKHTML instead of another converter, e.g. Puppeteer etc. (only if configured in service provider).

[AttributeUsage(AttributeTargets.All)]
public class UseWKHtmlToPdfAttribute : Attribute
parameter description
value Whether the report should use WKHTML to PDF.

Public Members

name description
UseWKHtmlToPdfAttribute(…) Marks a report to determine if it should use WKHTML instead of another converter, e.g. Puppeteer etc. (only if configured in service provider).
Value { get; } Gets a value indicating whether WKHTML to PDF should be used.

Remarks

Initializes a new instance of the attribute.

See Also