 | PdfFontCreateWindowsFont Method |
Creates a font that has the specified characteristics.
Namespace: Patagames.Pdf.NetAssembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 5.1.3
Syntaxpublic static PdfFont CreateWindowsFont(
PdfDocument doc,
LOGFONT logfont,
bool bVert,
bool bTranslateName
)
Public Shared Function CreateWindowsFont (
doc As PdfDocument,
logfont As LOGFONT,
bVert As Boolean,
bTranslateName As Boolean
) As PdfFont
public:
static PdfFont^ CreateWindowsFont(
PdfDocument^ doc,
LOGFONT^ logfont,
bool bVert,
bool bTranslateName
)
static member CreateWindowsFont :
doc : PdfDocument *
logfont : LOGFONT *
bVert : bool *
bTranslateName : bool -> PdfFont public static PdfFont CreateWindowsFont(
PdfDocument doc,
LOGFONT logfont,
boolean bVert,
boolean bTranslateName
)
Patagames.Pdf.Net.PdfFont.CreateWindowsFont = function(doc, logfont, bVert, bTranslateName);
Parameters
- doc PdfDocument
- A document object.
- logfont LOGFONT
- The LOGFONT structure defines the attributes of a font. Please refer MSDN for more details.
- bVert Boolean
- The font is vertical
- bTranslateName Boolean
- Translate names for CJK fonts
Return Value
PdfFontAn instance of
PdfFont class.
See Also