aspose.cells

Class RenderingFont

Font for rendering.

Constructor Summary
RenderingFont(fontName, fontSize)
Initializes a new instance of the RenderingFont
 
Property Getters/Setters Summary
functiongetBold()
function
setBold(value)
           Gets or sets bold for the font.
functiongetColor()
function
setColor(value)
           Gets or sets color for the font.
functiongetItalic()
function
setItalic(value)
           Gets or sets italic for the font.
functiongetName()
Gets name of the font.
functiongetSize()
Gets size of the font in points.
 

    • Constructor Detail

      • RenderingFont

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

      • getName : String 

        function getName()
        
        Gets name of the font.
      • getSize : Number 

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

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

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

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