IDWriteTextLayout::GetInlineObject, méthode (dwrite.h)
Obtient l’objet inline à la position spécifiée.
Syntaxe
HRESULT GetInlineObject(
UINT32 currentPosition,
[out] IDWriteInlineObject **inlineObject,
[out, optional] DWRITE_TEXT_RANGE *textRange
);
Paramètres
currentPosition
Type : UINT32
Position de texte spécifiée.
[out] inlineObject
Type : IDWriteInlineObject**
Contient l’objet inline défini par l’application.
[out, optional] textRange
Type : DWRITE_TEXT_RANGE*
Plage de texte qui a la même mise en forme que le texte à la position spécifiée par currentPosition. Cela signifie que l’exécution a la mise en forme exacte de la position spécifiée, y compris, mais sans s’y limiter, l’objet inline.
Valeur retournée
Type : HRESULT
Si cette méthode réussit, elle retourne S_OK. Sinon, elle retourne un code d’erreur HRESULT.
Spécifications
Client minimal pris en charge | Windows 7, Windows Vista avec SP2 et Mise à jour de plateforme pour Windows Vista [applications de bureau | Applications UWP] |
Serveur minimal pris en charge | Windows Server 2008 R2, Windows Server 2008 avec SP2 et Mise à jour de plateforme pour Windows Server 2008 [applications de bureau | Applications UWP] |
Plateforme cible | Windows |
En-tête | dwrite.h |
Bibliothèque | Dwrite.lib |
DLL | Dwrite.dll |
Voir aussi
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour