XFINIUM.PDF Documentation
CreateWithPfmMetrics(Stream,Stream,Double,Boolean) Method



Xfinium.Pdf.Graphics Namespace > PdfType1Font Class > CreateWithPfmMetrics Method : CreateWithPfmMetrics(Stream,Stream,Double,Boolean) Method
pfm data stream.
pfb data stream.
Font size.
If true, the font will be embedded in the PDF file.
Creates a Type1 font from a combination of .pfm and .pfb files.
Syntax
'Declaration
 
Public Overloads Shared Function CreateWithPfmMetrics( _
   ByVal metricsStream As Stream, _
   ByVal fontStream As Stream, _
   ByVal size As Double, _
   ByVal embed As Boolean _
) As PdfType1Font
'Usage
 
Dim metricsStream As Stream
Dim fontStream As Stream
Dim size As Double
Dim embed As Boolean
Dim value As PdfType1Font
 
value = PdfType1Font.CreateWithPfmMetrics(metricsStream, fontStream, size, embed)
public static PdfType1Font CreateWithPfmMetrics( 
   Stream metricsStream,
   Stream fontStream,
   double size,
   bool embed
)
public:
static PdfType1Font^ CreateWithPfmMetrics( 
   Stream^ metricsStream,
   Stream^ fontStream,
   double size,
   bool embed
) 

Parameters

metricsStream
pfm data stream.
fontStream
pfb data stream.
size
Font size.
embed
If true, the font will be embedded in the PDF file.

Return Value

A Type1 font object.
Requirements

Supported .NET Platforms: .NET 4.0 and higher, Windows Forms, ASP.NET, Windows Presentation Foundation 4.x, Silverlight 5, WinRT, Universal Windows Platform, Xamarin Mac, iOS & Android, Portable Class Library, .NET Core, .NET Standard


Target Platforms:Windows 10, Windows 8.1, Windows 8 , Windows 7, Windows Vista SP1 or later, Windows Server 2008, Windows Server 2008 R2

See Also

Reference

PdfType1Font Class
PdfType1Font Members
Overload List