asposecells.api

Class RenderingFont

Font for rendering.

Constructor Summary
RenderingFont(fontName, fontSize)
Initializes a new instance of the RenderingFont
 
Property Getters/Setters Summary
methodgetBold()
method
setBold(value)
           Gets or sets bold for the font.
methodgetColor()
method
setColor(value)
           Gets or sets color for the font.
methodgetItalic()
method
setItalic(value)
           Gets or sets italic for the font.
methodgetName()
Gets name of the font.
methodgetSize()
Gets size of the font in points.
 

    • Constructor Detail

      • RenderingFont

        RenderingFont(fontName, fontSize)
        Initializes a new instance of the RenderingFont
        Parameters:
        fontName: String - font name
        fontSize: float - font size in points
    • Property Getters/Setters Detail

      • getName : String 

        String getName()
        
        Gets name of the font.
      • getSize : float 

        float getSize()
        
        Gets size of the font in points.
      • getBold/setBold : boolean 

        boolean getBold() / setBold(value)
        
        Gets or sets bold for the font.
      • getItalic/setItalic : boolean 

        boolean getItalic() / setItalic(value)
        
        Gets or sets italic for the font.
      • getColor/setColor : Color 

        Color getColor() / setColor(value)
        
        Gets or sets color for the font.