cpdf-source/docsplits/dotnetsplits/c15.tex

31 lines
765 B
TeX
Raw Permalink Normal View History

2022-03-07 18:16:03 +01:00
CHAPTER 14. Fonts.
Cpdf.startGetFontInfo(Cpdf.Pdf)
Cpdf.numberFonts
Cpdf.getFontPage(Int32)
Cpdf.getFontName(Int32)
Cpdf.getFontType(Int32)
Cpdf.getFontEncoding(Int32)
Cpdf.endGetFontInfo
2022-03-09 13:07:27 +01:00
Retrieves font information. First, call startGetFontInfo(pdf). Now call
numberFonts to return the number of fonts. For each font, call one or more of
getFontPage, getFontName, getFontType, and getFontEncoding giving a serial
number 0..n - 1 to return information. Finally, call endGetFontInfo to clean
up.
2022-03-07 18:16:03 +01:00
Cpdf.removeFonts(Cpdf.Pdf)
Removes all font data from a file.
Cpdf.copyFont(Cpdf.Pdf, Cpdf.Pdf, List{Int32}, Int32, String)
2022-03-09 13:07:27 +01:00
Copies the given font from the given page in the 'from' PDF to every page in
the 'to' PDF. The new font is stored under its font name.