Dokumentation TextGRAB SDK | ITextGRABSDK::CaptureFontInfo

Drucken E-Mail

Grabbt die Schriftart des Textes

[C/C++]
HRESULT CaptureFontInfo(

INT_PTR hwnd,
INT x,
INT y,
ITextFont** ppFont

);

[Visual Basic]
object.CaptureFontInfo(

ByVal hwnd As INT_PTR,
ByVal x As Long,
ByVal y As Long,
ByRef ppFont As Object

)

[C#]
void ITextGRABSDK.CaptureFontInfo(

INT_PTR hwnd,
int x,
int y,
object ppFont

);

Kenndaten

hwnd
[in] Zielmarker des Fensters.
x
[in] x-Koordinate
y
[in] y-Koordinate
ppFont
[out] Gegrabbte Informationen über Schriftarten.

Rückgabewert (e)

 

Rückgabewert (e) Wert
S_OK (0x00000000) Operation erfolgreich beendet
E_POINTER (0x80004003) Kennwert ppFont-NULL.
E_INVALIDARG (0x80070057) Kennwert hwnd - falscher Fenstermarker.
E_FAIL (0x80004005) Fehler.
FAILED(hr) Entsprechende Fehlermeldung

Siehe auch:

Schnittstelle ITextGRABSDK | Schnittstelle ITextFont