Interface IPdfFontCollection
Assembly: IronPdf.dll
Syntax
public interface IPdfFontCollection
Properties
Count
Declaration
Property Value
Type |
Description |
System.Int32 |
|
Item[String]
Declaration
IEnumerable<FontInfo> this[string fontName] { get; }
Parameters
Type |
Name |
Description |
System.String |
fontName |
|
Property Value
Type |
Description |
System.Collections.Generic.IEnumerable<FontInfo> |
|
Item[UInt32]
Declaration
FontInfo this[uint objNum] { get; }
Parameters
Type |
Name |
Description |
System.UInt32 |
objNum |
|
Property Value
Items
Declaration
List<FontInfo> Items { get; }
Property Value
Type |
Description |
System.Collections.Generic.List<FontInfo> |
|
ItemsReadOnly
Declaration
ReadOnlyCollection<FontInfo> ItemsReadOnly { get; }
Property Value
Type |
Description |
System.Collections.ObjectModel.ReadOnlyCollection<FontInfo> |
|
Methods
Add(StandardFont)
Declaration
FontInfo Add(StandardFont font)
Parameters
Returns
Add(Byte[], UInt32)
Declaration
FontInfo Add(byte[] fontData, uint size)
Parameters
Type |
Name |
Description |
System.Byte[] |
fontData |
|
System.UInt32 |
size |
|
Returns
Add(Stream)
Declaration
FontInfo Add(Stream fontStream)
Parameters
Type |
Name |
Description |
System.IO.Stream |
fontStream |
|
Returns
Add(String)
Declaration
FontInfo Add(string standardFontName)
Parameters
Type |
Name |
Description |
System.String |
standardFontName |
|
Returns
AddFromFilePath(String)
Declaration
FontInfo AddFromFilePath(string fontFilePath)
Parameters
Type |
Name |
Description |
System.String |
fontFilePath |
|
Returns
Embed(FontInfo, Byte[], UInt32)
Declaration
FontInfo Embed(FontInfo font, byte[] fontData, uint size)
Parameters
Type |
Name |
Description |
FontInfo |
font |
|
System.Byte[] |
fontData |
|
System.UInt32 |
size |
|
Returns
Embed(FontInfo, Stream)
Declaration
FontInfo Embed(FontInfo font, Stream fontStream)
Parameters
Type |
Name |
Description |
FontInfo |
font |
|
System.IO.Stream |
fontStream |
|
Returns
Embed(FontInfo, String)
Declaration
FontInfo Embed(FontInfo font, string path)
Parameters
Type |
Name |
Description |
FontInfo |
font |
|
System.String |
path |
|
Returns
Find(String)
Declaration
List<FontInfo> Find(string regexFontName)
Parameters
Type |
Name |
Description |
System.String |
regexFontName |
|
Returns
Type |
Description |
System.Collections.Generic.List<FontInfo> |
|
GetStandardFontName(StandardFont)
Declaration
string GetStandardFontName(StandardFont font)
Parameters
Returns
Type |
Description |
System.String |
|
Replace(FontInfo, StandardFont)
Declaration
FontInfo Replace(FontInfo targetFont, StandardFont newFont)
Parameters
Returns
Replace(FontInfo, Byte[], UInt32)
Declaration
FontInfo Replace(FontInfo targetFont, byte[] newFontData, uint size)
Parameters
Type |
Name |
Description |
FontInfo |
targetFont |
|
System.Byte[] |
newFontData |
|
System.UInt32 |
size |
|
Returns
Replace(FontInfo, Stream)
Declaration
FontInfo Replace(FontInfo targetFont, Stream newFontStream)
Parameters
Type |
Name |
Description |
FontInfo |
targetFont |
|
System.IO.Stream |
newFontStream |
|
Returns
Replace(FontInfo, String)
Declaration
FontInfo Replace(FontInfo targetFont, string newFontName)
Parameters
Type |
Name |
Description |
FontInfo |
targetFont |
|
System.String |
newFontName |
|
Returns
ReplaceFromFilePath(FontInfo, String)
Declaration
FontInfo ReplaceFromFilePath(FontInfo targetFont, string path)
Parameters
Type |
Name |
Description |
FontInfo |
targetFont |
|
System.String |
path |
|
Returns
ResolveStandardFontName(String)
Declaration
string ResolveStandardFontName(string arbitraryStandardFontName)
Parameters
Type |
Name |
Description |
System.String |
arbitraryStandardFontName |
|
Returns
Type |
Description |
System.String |
|
UnEmbed(FontInfo)
Declaration
FontInfo UnEmbed(FontInfo font)
Parameters
Returns
UnEmbed(String)
Declaration
FontInfo UnEmbed(string regexFontName)
Parameters
Type |
Name |
Description |
System.String |
regexFontName |
|
Returns