Back to Devexpress

PdfRedactAnnotationFacade.TextJustification Property

officefileapi-devexpress-dot-pdf-dot-pdfredactannotationfacade-93c84804.md

latest2.8 KB
Original Source

PdfRedactAnnotationFacade.TextJustification Property

Gets or sets the overlay text alignment.

Namespace : DevExpress.Pdf

Assembly : DevExpress.Pdf.v25.2.Core.dll

NuGet Package : DevExpress.Pdf.Core

Declaration

csharp
public PdfTextJustification TextJustification { get; set; }
vb
Public Property TextJustification As PdfTextJustification

Property Value

TypeDescription
PdfTextJustification

An enumeration value that indicates the justification type.

|

Available values:

NameDescription
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

csharp
redactAnnotation.OverlayText = "Classified";
redactAnnotation.TextJustification = PdfTextJustification.Centered;
redactAnnotation.RepeatText = false;

winforms-pdf-viewer-redaction-annotations/VB/DXApplication1/Form1.vb#L41

vb
redactAnnotation.OverlayText = "Classified"
redactAnnotation.TextJustification = PdfTextJustification.Centered
redactAnnotation.RepeatText = False

See Also

PdfRedactAnnotationFacade Class

PdfRedactAnnotationFacade Members

DevExpress.Pdf Namespace