Skip to main content
All docs
V24.1

TextWatermarkOptions.FontSize Property

Gets or sets the watermark text font size.

Namespace: DevExpress.XtraRichEdit.API.Native

Assembly: DevExpress.RichEdit.v24.1.Core.dll

NuGet Packages: DevExpress.RichEdit.Core, DevExpress.Win.Navigation

Declaration

public int FontSize { get; set; }

Property Value

Type Description
Int32

The font size.

Property Paths

You can access this nested property as listed below:

Object Type Path to FontSize
WatermarkFormat
.TextOptions .FontSize

Exceptions

Type Description
InvalidOperationException

Thrown if the specified value is not between 0 and 3000.

See Also