Hi Aspose Team,
I’ve added a text frame with font type “Verdana”, but when i see on slide it is showing some unknown font type. I’m not sure which language it is even. Below is the code.
ashp0.TextFrame.Paragraphs[0].Portions[0].PortionFormat.FillFormat.FillType = FillType.Solid;
ashp0.TextFrame.Paragraphs[0].Portions[0].PortionFormat.FillFormat.SolidFillColor.Color = Color.Gray;
ashp0.TextFrame.Paragraphs[0].Portions[0].PortionFormat.FontHeight = 20;
ashp0.ShapeStyle.LineColor.Color = System.Drawing.Color.White; //Change the line color of the rectangle to White
ashp0.FillFormat.FillType = FillType.NoFill; //Remove any fill formatting in the shape
ashp0.TextFrame.Paragraphs[0].Portions[0].PortionFormat.FontBold = NullableBool.True;
ashp0.TextFrame.Paragraphs[0].Portions[0].PortionFormat.LatinFont = new FontData(“Verdana”);
Hi Naveen,
I have observed your comments and request you to please share the source and generated presentation along with working sample code. I will investigate the issue further on my end to help you out.
Many Thanks,
Thanks for the response. This is code i’m using to generate text
ashp0.TextFrame.Paragraphs[0].Portions[0].PortionFormat.FillFormat.FillType = FillType.Solid;
ashp0.TextFrame.Paragraphs[0].Portions[0].PortionFormat.FillFormat.SolidFillColor.Color = Color.Gray;
ashp0.TextFrame.Paragraphs[0].Portions[0].PortionFormat.FontHeight = 20;
ashp0.ShapeStyle.LineColor.Color = System.Drawing.Color.White; //Change the line color of the rectangle to White
ashp0.FillFormat.FillType = FillType.NoFill; //Remove any fill formatting in the shape
ashp0.TextFrame.Paragraphs[0].Portions[0].PortionFormat.FontBold = NullableBool.True;
ashp0.TextFrame.Paragraphs[0].Portions[0].PortionFormat.LatinFont = new FontData(“Verdana”);
Hi Naveen,
I have observed your comments and unable to use the sample code as it is incomplete. As requested earlier please provide the source presentation (if it is used), generated presentation and working sample code with us so that we may investigate the issue further on our end to help you out.
Many Thanks,