Method CountFonts

Namespace
SoftZenPdf
Assembly
SoftZenPdf.dll

CountFonts(byte[])

The number of fonts in a TrueType collection (.ttc), or 1 for a single font file.

public static int CountFonts(byte[] data)

Parameters

data byte[]

The file's bytes.

Returns

int

Exceptions

InvalidDataException

The collection header is corrupt.