共用方式為


IDWriteTextLayout1::GetCharacterSpacing 方法 (dwrite_1.h)

語法

HRESULT GetCharacterSpacing(
  UINT32            currentPosition,
  FLOAT             *leadingSpacing,
  FLOAT             *trailingSpacing,
  FLOAT             *minimumAdvanceWidth,
  DWRITE_TEXT_RANGE *textRange
);

參數

currentPosition

leadingSpacing

trailingSpacing

minimumAdvanceWidth

textRange

規格需求

需求
標頭 dwrite_1.h