PDFView4NET WPF Edition
Italic Property (PostScriptFont)




O2S.Components.PDFView4NET.Graphics.Fonts Namespace > PostScriptFont Class : Italic Property
Gets of sets whether the font object is italic or not
Syntax
'Declaration
 
Public Overrides NotOverridable Property Italic As Boolean
'Usage
 
Dim instance As PostScriptFont
Dim value As Boolean
 
instance.Italic = value
 
value = instance.Italic
public override bool Italic {get; set;}
public: __property bool get_Italic() override;
public: __property void set_Italic( 
   bool value
) override;
public:
property bool Italic {
   bool get() override;
   void set (    bool value) override;
}

Property Value

This property returns true if this Font object is italic; otherwise, false.
Remarks
When the Type1 font is embedded in the pdf file, the value of this property is ignored because the pdf viewer always renders the appropriate face (italic or not) based on the embedded font. Embedding a regular font and setting this property to true will have no effect, when the font is embedded in the pdf file.

When the font is not embedded in the pdf file, this property is used to give a hint to the pdf viewer, in order for it to render the correct face (assuming the font is installed on the local computer).

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

PostScriptFont Class
PostScriptFont Members