PDFView4NET WPF Edition
TrueTypeFont Constructor(Stream,Double,Boolean)




O2S.Components.PDFView4NET.Graphics.Fonts Namespace > TrueTypeFont Class > TrueTypeFont Constructor : TrueTypeFont Constructor(Stream,Double,Boolean)
a stream object with font data.
the size of the font, in points.
true if the font file should be embedded in the pdf file.
Initializes a new TrueTypeFont object based on the given font stream and size.
Syntax
'Declaration
 
Public Function New( _
   ByVal trueTypeFontStream As Stream, _
   ByVal size As Double, _
   ByVal embed As Boolean _
)
'Usage
 
Dim trueTypeFontStream As Stream
Dim size As Double
Dim embed As Boolean
 
Dim instance As New TrueTypeFont(trueTypeFontStream, size, embed)
public TrueTypeFont( 
   Stream trueTypeFontStream,
   double size,
   bool embed
)
public: TrueTypeFont( 
   Stream* trueTypeFontStream,
   double size,
   bool embed
)
public:
TrueTypeFont( 
   Stream^ trueTypeFontStream,
   double size,
   bool embed
)

Parameters

trueTypeFontStream
a stream object with font data.
size
the size of the font, in points.
embed
true if the font file should be embedded in the pdf file.
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

TrueTypeFont Class
TrueTypeFont Members
Overload List