FontBorder Property

Returns a Border object that specifies border for the font.

Namespace:  Aspose.Words
Assembly:  Aspose.Words (in Aspose.Words.dll) Version: 20.3
Syntax
public Border Border { get; }

Property Value

Type: Border
Examples
Shows how to insert a string surrounded by a border into a document.
DocumentBuilder builder = new DocumentBuilder();

builder.Font.Border.Color = Color.Green;
builder.Font.Border.LineWidth = 2.5;
builder.Font.Border.LineStyle = LineStyle.DashDotStroker;

builder.Write("run of text in a green border");
See Also