fontFamily property

PdfCjkFontFamily get fontFamily

Gets the font family

//Create a new PDF document.
PdfDocument document = PdfDocument();
//Create PDF cjk font.
PdfCjkStandardFont font =
    PdfCjkStandardFont(PdfCjkFontFamily.heiseiMinchoW3, 12);
//Draw the text.
document.pages.add().graphics.drawString(
    '"The CJK font family name is ${font.fontFamily}', font,
    brush: PdfBrushes.black);
//Save the document.
List<int> bytes = await document.save();
//Close the document.
document.dispose();

Implementation

PdfCjkFontFamily get fontFamily => _fontFamily;