O2S.Components.PDF4NET.Render Documentation
Mappings Property



O2S.Components.PDF4NET.Rendering Namespace > PDFFontSubstitution Class : Mappings Property
Gets the font mappings dictionary.
Syntax
'Declaration
 
Public ReadOnly Property Mappings As Dictionary(Of String,Stream)
'Usage
 
Dim instance As PDFFontSubstitution
Dim value As Dictionary(Of String,Stream)
 
value = instance.Mappings
public Dictionary<string,Stream> Mappings {get;}
public:
property Dictionary<String^,Stream^>^ Mappings {
   Dictionary<String^,Stream^>^ get();
}

Property Value

A dictionary that maps font names to corresponding TrueType font streams.
Remarks
The Mappings property is used to specify font data streams for fonts that are not embedded in the PDF file.
The string key in the dictionary must corresponds to a font name (including the start /) in the PDF file. If that font is not embedded, the library will use the corresponding font stream to render the text.
The value /Default maps any non embedded font in the PDF file to a default font stream.
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

PDFFontSubstitution Class
PDFFontSubstitution Members