FPDFText_GetFont
FPDFText_GetFont :FPDFText_LoadPage,index
a handle to the font used by the particular character
特定字符使用的字体的句柄。
返回值: FPDFFont_xxx使用
font ascent
get the font information of a text object 搜索网络
获取文本对象的字体信息
FPDFTextObj_GetFont
FPDF_FONT FPDFTextObj_GetFont(FPDF_PAGEOBJECT text_object);
text_object handle of text object return by FPDFPageObj_NewTextObj or FPDFPageObj_NewTextObjEx
handle of a font
FPDFTextObj_SetFont
void FPDFTextObj_SetFont(FPDF_PAGEOBJECT text_object,FPDF_Font font ,double fnt_sieze);
text_object :Handle fo text object return by FPDFPageObj_NewTextObj of
FPDFPageObj_NewTextObjEx.
font :handle of FPDF_FONT it could be FPDFTextObj_GetFont
FPDFFont_AddTrueType and FPDFFont_AddStandradFont
font_size:the size of the font
FPDFTextObj_GetFontSize(FPDF_PAGEOBJECT text_object);
text_object - Handle of text object return by FPDFPageObj_NewTextObj
of FPDFPageObj_NewTextObjEx
FPDFText_GetMatrix
FPDF_TEXTPAGE text_page,int index,double*a
insert a pdf page
PDF_PAGE pdf_page = FF
FPDF+PAGEOBJECT page_obj= FPDFPageObj_New(pPDFDoc)
FPDF_LoadPage
page index -index number of the page ,0 fo the first page
浙公网安备 33010602011771号