pdfHTML 2.1.6 API
iText.Html2pdf.Css.Apply.Util.BackgroundApplierUtil Class Reference

Utilities class to apply backgrounds. More...

Static Public Member Functions

static void ApplyBackground (IDictionary< String, String > cssProps, ProcessorContext context, IPropertyContainer element)
 Applies background to an element. More...
 

Detailed Description

Utilities class to apply backgrounds.

Member Function Documentation

◆ ApplyBackground()

static void iText.Html2pdf.Css.Apply.Util.BackgroundApplierUtil.ApplyBackground ( IDictionary< String, String >  cssProps,
ProcessorContext  context,
IPropertyContainer  element 
)
inlinestatic

Applies background to an element.

Parameters
cssPropsthe CSS properties
contextthe processor context
elementthe element