SetCharWidth

文字、表單欄位

描述

設定所選字型中特定字元的寬度

寬度以相對文字大小的比例表示。例如值為 750 時,以 12pt 輸出的字元寬度就是 (750 / 1000) * 12

語法

Delphi

Function TPDFlib.SetCharWidth(CharCode, NewWidth: Integer): Integer;

ActiveX

Function PDFlib::SetCharWidth(CharCode As Long, NewWidth As Long) As Long

DLL

int DLSetCharWidth(int InstanceID, int CharCode, int NewWidth);

參數

CharCode要設定的字形字元碼。例如 "A" 為 65。
NewWidthThe new width

傳回值

0尚未選取字型 寬度設定成功
1