MÉTHODE IDWriteTextLayout1::GetPairKerning (dwrite_1.h)
Obtient si le crénage de paires est activé ou non à une position donnée.
Syntaxe
HRESULT GetPairKerning(
UINT32 currentPosition,
[out] BOOL *isPairKerningEnabled,
[out, optional] DWRITE_TEXT_RANGE *textRange
);
Paramètres
currentPosition
Type : UINT32
Position actuelle du texte.
[out] isPairKerningEnabled
Type : BOOL*
Indicateur qui indique si le texte est assorti d’une paire de caractères.
[out, optional] textRange
Type : DWRITE_TEXT_RANGE*
Plage de positions du format actuel.
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 8 et mise à jour de plateforme pour Windows 7 [applications de bureau | Applications UWP] |
Serveur minimal pris en charge | Windows Server 2012 et Platform Update pour Windows Server 2008 R2 [applications de bureau | Applications UWP] |
Plateforme cible | Windows |
En-tête | dwrite_1.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