officefileapi-devexpress-dot-pdf-dot-pdfredactannotationfacade-93c84804.md
Gets or sets the overlay text alignment.
Namespace : DevExpress.Pdf
Assembly : DevExpress.Pdf.v25.2.Core.dll
NuGet Package : DevExpress.Pdf.Core
public PdfTextJustification TextJustification { get; set; }
Public Property TextJustification As PdfTextJustification
| Type | Description |
|---|---|
| PdfTextJustification |
An enumeration value that indicates the justification type.
|
Available values:
| Name | Description |
|---|---|
| LeftJustified |
The left justified form of justification is used in displaying the text.
| | Centered |
The centered form of justification is used in displaying the text.
| | RightJustified |
The right justified form of justification is used in displaying the text.
|
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the TextJustification property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
winforms-pdf-viewer-redaction-annotations/CS/DXApplication1/Form1.cs#L56
redactAnnotation.OverlayText = "Classified";
redactAnnotation.TextJustification = PdfTextJustification.Centered;
redactAnnotation.RepeatText = false;
winforms-pdf-viewer-redaction-annotations/VB/DXApplication1/Form1.vb#L41
redactAnnotation.OverlayText = "Classified"
redactAnnotation.TextJustification = PdfTextJustification.Centered
redactAnnotation.RepeatText = False
See Also
PdfRedactAnnotationFacade Class