PdfDocument AddFont メソッド (String, String, Nullable Int32 )PDF Generator Net Free
PDFファイルで使用するフォントを設定する。(複数のPDFファイルを作成する場合は、AddFont(string fontName, AbstractPdfFont pdfFont)でpdfFontを使いまわした方が高速に処理できる。) (AddContentでContentを追加する前に必要なフォントがPdfDocumentにAddFontされている必要がある。)

名前空間: PdfGeneratorNetFree
アセンブリ: PdfGeneratorNetFree (in PdfGeneratorNetFree.dll) バージョン: 1.1.0.0
構文

public void AddFont(
	string fontName,
	string fontFilePath,
	Nullable<int> ttcIndex = null
)

パラメーター

fontName
型: System String
一意のフォント名
fontFilePath
型: System String
font object
ttcIndex (Optional)
型: System Nullable Int32 
使用するフォントのIndex(0始まり) TTFのときは0固定
参照

inserted by FC2 system