Table of Contents

Method SetTextRenderingParameters

Namespace
PaintDotNet.Direct2D1
Assembly
PaintDotNet.Windows.dll

SetTextRenderingParameters(ITextRenderingParameters?)

Specifies text rendering options to be applied to all subsequent text and glyph drawing operations.

void SetTextRenderingParameters(ITextRenderingParameters? parameters)

Parameters

parameters ITextRenderingParameters

The text rendering options to be applied to all subsequent text and glyph drawing operations; null to clear current text rendering options.

Remarks

If the settings specified by textRenderingParams are incompatible with the render target's text antialiasing mode (specified by TextAntialiasMode ), subsequent text and glyph drawing operations will fail and put the device context into an error state.