Free Support Forum - aspose.com

com.aspose.slides.pptx.PortionEx.setLatinFont(FontDataEx value)

Hello,


Could you please provide me with a code snippet that demonstrates how this function is used?: com.aspose.slides.pptx.PortionEx.setLatinFont(FontDataEx value)
Thanks,
Peter

Hi Peter,


You can set the FontDataEx object and use that with following code snippet. Please share, If I may help you further in this regard.

FontDataEx fo = new FontDataEx(“Arial”);
PortionEx portion=new PortionEx();
portion.setLatinFont(fo) ;

Many Thanks,

Hi Mudassir,


Is this how I would specify the font for a portion of text? I had expected to specified that with an enumerated constant, not a string.

Thanks,

Peter

Hi Peter,


Please visit this documentation link for your further kind reference. Please share if I may help your further in this regard.

Many Thanks,