Type Default Read Only Description

[Visual Basic]
false No Whether to apply a synthetic italic effect.




This property determines whether a synthetic italic effect is applied to text.

It is generally better to specify an italic typeface rather than synthesize an italic effect using the current typeface. However, under some circumstances this may not be possible and you may prefer to apply a synthetic italic effect.




In this example we add some italic text to a document.


using (Doc doc = new Doc()) {   string theText;   theText = "Gallia est omnis divisa in partes tres, quarum unam incolunt Belgae, aliam Aquitani, tertiam qui ipsorum lingua Celtae, nostra Galli appellantur.";   doc.Rect.Inset(20, 40);   doc.TextStyle.Size = 96;   doc.TextStyle.Italic = true;   doc.AddText(theText);   doc.Save(Server.MapPath("styleitalic.pdf")); }