共用方式為


IDWriteTextLayout1::SetCharacterSpacing 方法 (dwrite_1.h)

語法

HRESULT SetCharacterSpacing(
  FLOAT             leadingSpacing,
  FLOAT             trailingSpacing,
  FLOAT             minimumAdvanceWidth,
  DWRITE_TEXT_RANGE textRange
);

參數

leadingSpacing

trailingSpacing

minimumAdvanceWidth

textRange

規格需求

需求
標頭 dwrite_1.h