PdfParagraphStyle Class
The style of a paragraph of a flow document.
public sealed class PdfParagraphStyle : IEquatable<PdfParagraphStyle>- Implements
Constructors
| Name | Description |
|---|---|
| PdfParagraphStyle() |
PdfParagraphStyle()
public PdfParagraphStyle()No documentation is available.
Properties
| Name | Description |
|---|---|
| Alignment | 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. |
| Indent | Gets the indentation of the lines from the start of the line, in points. |
| SpaceAfter | Gets the space after the paragraph, in points, or null for the default (PdfFlowOptions.ParagraphSpacing). |
| SpaceBefore | Gets the space before the paragraph, in points, or null for the default. |
| TextStyle | Gets the style of the text of the paragraph, or null for the style of the document. |
Alignment
PdfParagraphStyle.csGets 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
Indent
PdfParagraphStyle.csSpaceAfter
PdfParagraphStyle.csGets the space after the paragraph, in points, or null for the default (PdfFlowOptions.ParagraphSpacing).
public double? SpaceAfter { get; init; }Property value
SpaceBefore
PdfParagraphStyle.csTextStyle
PdfParagraphStyle.csGets the style of the text of the paragraph, or null for the style of the document.
public PdfTextStyle? TextStyle { get; init; }Property value
Methods
| Name | Description |
|---|---|
| Equals(PdfParagraphStyle?) | |
| Equals(object?) | |
| GetHashCode() | |
| ToString() |
Equals overloads
Equals(PdfParagraphStyle?)
public bool Equals(PdfParagraphStyle? other)No documentation is available.
Equals(object?)
GetHashCode()
ToString()
Operators
| Name | Description |
|---|---|
| operator ==(PdfParagraphStyle?, PdfParagraphStyle?) | |
| operator !=(PdfParagraphStyle?, PdfParagraphStyle?) |
operator ==(PdfParagraphStyle?, PdfParagraphStyle?)
public static bool operator ==(PdfParagraphStyle? left, PdfParagraphStyle? right)No documentation is available.
operator !=(PdfParagraphStyle?, PdfParagraphStyle?)
public static bool operator !=(PdfParagraphStyle? left, PdfParagraphStyle? right)No documentation is available.