public function updateParagraphRunFont($options_xml = '', $paragraphid = '', $runid = '')
    {
        if ($options_xml == '')
            throw new Exception('Options not specified.');

        if ($paragraphid == '')
            throw new Exception('No Paragraph Id specified');

        if ($runid == '')
            throw new Exception('No Run Id specified');

        $strURI = Product::$baseProductUri . '/words/' . $this->getFileName() . '/paragraphs/'.$paragraphid.'/runs/'.$runid.'/font';
        $signedURI = Utils::sign($strURI);

        $responseStream = Utils::processCommand($signedURI, 'POST', 'XML', $options_xml,'json');

        $json = json_decode($responseStream);

        if ($json->Code == 200) {
            return $json->Font;
        }
        
        AsposeApp::getLogger()->warning('Error occured, http 200 code was not found.', array(
            'json-code' => $json->Code,
        ));
        return false;
    }
public function updateParagraphRunFont($options_xml = '', $paragraphid = '', $runid = '')
    {
        if ($options_xml == '')
            throw new Exception('Options not specified.');

        if ($paragraphid == '')
            throw new Exception('No Paragraph Id specified');

        if ($runid == '')
            throw new Exception('No Run Id specified');

        $strURI = Product::$baseProductUri . '/words/' . $this->getFileName() . '/paragraphs/'.$paragraphid.'/runs/'.$runid.'/font';
        $signedURI = Utils::sign($strURI);

        $responseStream = Utils::processCommand($signedURI, 'POST', 'XML', $options_xml,'json');

        $json = json_decode($responseStream);

        if ($json->Code == 200) {
            return $json->Font;
        }
        
        AsposeApp::getLogger()->warning('Error occured, http 200 code was not found.', array(
            'json-code' => $json->Code,
        ));
        return false;
    }
public function updateParagraphRunFont ( $ options_xml = '' , $ paragraphid = '' , $ runid = '' ) { if ( $ options_xml == '' ) throw new Exception ( 'Options not specified.' ) ; if ( $ paragraphid == '' ) throw new Exception ( 'No Paragraph Id specified' ) ; if ( $ runid == '' ) throw new Exception ( 'No Run Id specified' ) ; $ strURI = Product :: $ baseProductUri . '/words/' . $ this -> getFileName ( ) . '/paragraphs/' . $ paragraphid . '/runs/' . $ runid . '/font' ; $ signedURI = Utils :: sign ( $ strURI ) ; $ responseStream = Utils :: processCommand ( $ signedURI , 'POST' , 'XML' , $ options_xml , 'json' ) ; $ json = json_decode ( $ responseStream ) ; if ( $ json -> Code == 200 ) { return $ json -> Font ; } AsposeApp :: getLogger ( ) -> warning ( 'Error occured, http 200 code was not found.' , array ( 'json-code' => $ json -> Code , ) ) ; return false ; }
update font information from any run of a paragraph.

$param string $options_xml.
$param string $paragraphid.
$param string $runid.

@return Object of Font.
@throws Exception
update font information from any run of a paragraph .