PdfTextStyle Class

The style of a run of text of a flow document (PdfInlineBuilder): the properties that are null are those of the paragraph.

public sealed class PdfTextStyle : IEquatable<PdfTextStyle>
Implements

Constructors

NameDescription
PdfTextStyle()

PdfTextStyle()

public PdfTextStyle()

No documentation is available.

Properties

NameDescription
ColorGets the color of the text, or null for the color of the paragraph.
FontGets the font, or null for the font of the paragraph.
FontSizeGets the font size, in points, or null for the size of the paragraph.

Gets the color of the text, or null for the color of the paragraph.

public PdfColor? Color { get; init; }

Property value

PdfColor?

Gets the font, or null for the font of the paragraph.

public PdfFont? Font { get; init; }

Property value

PdfFont?

Gets the font size, in points, or null for the size of the paragraph.

public double? FontSize { get; init; }

Property value

double?

Methods

NameDescription
Equals(PdfTextStyle?)
Equals(object?)
GetHashCode()
ToString()

Equals overloads

Equals(PdfTextStyle?)

public bool Equals(PdfTextStyle? other)
Parameters
other PdfTextStyle?
Returns

bool

No documentation is available.

Equals(object?)

public override bool Equals(object? obj)
Parameters
obj object?
Returns

bool

No documentation is available.

GetHashCode()

public override int GetHashCode()

Returns

int

No documentation is available.

ToString()

public override string ToString()

Returns

string

No documentation is available.

Operators

NameDescription
operator ==(PdfTextStyle?, PdfTextStyle?)
operator !=(PdfTextStyle?, PdfTextStyle?)

operator ==(PdfTextStyle?, PdfTextStyle?)

public static bool operator ==(PdfTextStyle? left, PdfTextStyle? right)

Parameters

left PdfTextStyle?
right PdfTextStyle?

Returns

bool

No documentation is available.

operator !=(PdfTextStyle?, PdfTextStyle?)

public static bool operator !=(PdfTextStyle? left, PdfTextStyle? right)

Parameters

left PdfTextStyle?
right PdfTextStyle?

Returns

bool

No documentation is available.