_propDict)) { if (is_a($this->_propDict["fill"], "\Microsoft\Graph\Model\WorkbookChartFill") || is_null($this->_propDict["fill"])) { return $this->_propDict["fill"]; } else { $this->_propDict["fill"] = new WorkbookChartFill($this->_propDict["fill"]); return $this->_propDict["fill"]; } } return null; } /** * Sets the fill * Represents the fill format of an object, which includes background formatting information. Read-only. * * @param WorkbookChartFill $val The fill * * @return WorkbookChartTitleFormat */ public function setFill($val) { $this->_propDict["fill"] = $val; return $this; } /** * Gets the font * Represents the font attributes (font name, font size, color, etc.) for the current object. Read-only. * * @return WorkbookChartFont|null The font */ public function getFont() { if (array_key_exists("font", $this->_propDict)) { if (is_a($this->_propDict["font"], "\Microsoft\Graph\Model\WorkbookChartFont") || is_null($this->_propDict["font"])) { return $this->_propDict["font"]; } else { $this->_propDict["font"] = new WorkbookChartFont($this->_propDict["font"]); return $this->_propDict["font"]; } } return null; } /** * Sets the font * Represents the font attributes (font name, font size, color, etc.) for the current object. Read-only. * * @param WorkbookChartFont $val The font * * @return WorkbookChartTitleFormat */ public function setFont($val) { $this->_propDict["font"] = $val; return $this; } }