Poznámka:
Přístup k této stránce vyžaduje autorizaci. Můžete se zkusit přihlásit nebo změnit adresáře.
Přístup k této stránce vyžaduje autorizaci. Můžete zkusit změnit adresáře.
IDWriteTextLayout calls this callback function to get the measurement of the inline object.
Syntax
HRESULT GetMetrics(
[out] DWRITE_INLINE_OBJECT_METRICS *metrics
);
Parameters
[out] metrics
Type: DWRITE_INLINE_OBJECT_METRICS*
When this method returns, contains a structure describing the geometric measurement of an application-defined inline object. These metrics are in relation to the baseline of the adjacent text.
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista [desktop apps | UWP apps] |
| Minimum supported server | Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008 [desktop apps | UWP apps] |
| Target Platform | Windows |
| Header | dwrite.h |
| Library | Dwrite.lib |
| DLL | Dwrite.dll |