Class WidthHeightApplierUtil

java.lang.Object
com.itextpdf.html2pdf.css.apply.util.WidthHeightApplierUtil

public final class WidthHeightApplierUtil extends Object
Utilities class to apply a width or a height to an element.
  • Method Details

    • applyWidthHeight

      public static void applyWidthHeight (Map<String,String> cssProps, ProcessorContext context, com.itextpdf.layout.IPropertyContainer element)
      Applies a width or a height to an element.
      Parameters:
      cssProps - the CSS properties
      context - the processor context
      element - the element