Class Style

java.lang.Object
com.datalogics.PDFL.Style

public class Style extends Object
Provides access to data about fonts, font sizes, and colors used in a word.
  • Method Details

    • delete

      public void delete()
    • getColor

      public Color getColor()
      The style's color. \\xrefitem pdlayer_apis "PD Layer" "PD Layer" PDStyle PDStyleGetColor
    • getFontSize

      public double getFontSize()
      The style's font size. \\xrefitem pdlayer_apis "PD Layer" "PD Layer" PDStyle PDStyleGetFontSize
    • getFontName

      public String getFontName()
      The name of of the style's font. \\xrefitem pdlayer_apis "PD Layer" "PD Layer" PDFont PDFontGetASTextName \\xrefitem pdlayer_apis "PD Layer" "PD Layer" PDStyle PDStyleGetFont
    • toString

      public String toString()
      Return a string representing the Style's value. The returned value indicates the color, font, and font size of the style.
      Overrides:
      toString in class Object