iTextRange2::GetFont2 方法 (tom.h)

會取得具有目前範圍的字元屬性的 ITextFont2 物件。

語法

HRESULT GetFont2(
  [out, retval] ITextFont2 **ppFont
);

參數

[out, retval] ppFont

類型: ITextFont2**

ITextFont2 物件。

傳回值

類型: HRESULT

如果方法成功,它會傳回 NOERROR。 否則,它會傳回 HRESULT 錯誤碼。

規格需求

需求
最低支援的用戶端 Windows 8 [僅限傳統型應用程式]
最低支援的伺服器 Windows Server 2012 [僅限傳統型應用程式]
目標平台 Windows
標頭 tom.h
Dll Msftedit.dll

另請參閱

ITextRange2

ITextRange2::SetFont2