PdfParagraphStyle Class

The style of a paragraph of a flow document.

public sealed class PdfParagraphStyle : IEquatable<PdfParagraphStyle>
Implements

Constructors

NameDescription
PdfParagraphStyle()

PdfParagraphStyle()

public PdfParagraphStyle()

No documentation is available.

Properties

NameDescription
AlignmentGets the alignment of the lines, or null for the start of the line: the left, or the right of a right-to-left paragraph.
IndentGets the indentation of the lines from the start of the line, in points.
SpaceAfterGets the space after the paragraph, in points, or null for the default (PdfFlowOptions.ParagraphSpacing).
SpaceBeforeGets the space before the paragraph, in points, or null for the default.
TextStyleGets the style of the text of the paragraph, or null for the style of the document.

Gets the alignment of the lines, or null for the start of the line: the left, or the right of a right-to-left paragraph.

public PdfTextAlignment? Alignment { get; init; }

Property value

PdfTextAlignment?

Gets the indentation of the lines from the start of the line, in points.

public double Indent { get; init; }

Property value

double

Gets the space after the paragraph, in points, or null for the default (PdfFlowOptions.ParagraphSpacing).

public double? SpaceAfter { get; init; }

Property value

double?

Gets the space before the paragraph, in points, or null for the default.

public double? SpaceBefore { get; init; }

Property value

double?

Gets the style of the text of the paragraph, or null for the style of the document.

public PdfTextStyle? TextStyle { get; init; }

Property value

PdfTextStyle?

Methods

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

Equals overloads

Equals(PdfParagraphStyle?)

public bool Equals(PdfParagraphStyle? other)
Parameters
other PdfParagraphStyle?
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 ==(PdfParagraphStyle?, PdfParagraphStyle?)
operator !=(PdfParagraphStyle?, PdfParagraphStyle?)

operator ==(PdfParagraphStyle?, PdfParagraphStyle?)

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

Parameters

left PdfParagraphStyle?
right PdfParagraphStyle?

Returns

bool

No documentation is available.

operator !=(PdfParagraphStyle?, PdfParagraphStyle?)

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

Parameters

left PdfParagraphStyle?
right PdfParagraphStyle?

Returns

bool

No documentation is available.