Skip to content

PdfFormattedTextBlock.BackgroundBaselineOffset Property

Gets or sets the background baseline offset.

C#
public double BackgroundBaselineOffset { get; set; }

Property Value

Double

Offset from text baseline for drawing the background.

Remarks

The offset is given in PDF points. By default the background baseline matches the text baseline. If you want to lower it so that it covers the descent part of the text, you can set it to a negative value.