## Document.JustificationMode property

Obtiene o establece el ajuste del espaciado de caracteres de un documento.

```csharp
public JustificationMode JustificationMode { get; set; }
```

## Ejemplos

Muestra cómo administrar el control del espaciado entre caracteres.

```csharp
Document doc = new Document(MyDir + "Document.docx");

JustificationMode justificationMode = doc.JustificationMode;
if (justificationMode == JustificationMode.Expand)
    doc.JustificationMode = JustificationMode.Compress;

doc.Save(ArtifactsDir + "Document.SetJustificationMode.docx");
```

### Ver también

* enum [JustificationMode](../../../aspose.words.settings/justificationmode/)
* class [Document](../)
* espacio de nombres [Aspose.Words](../../../aspose.words/)
* asamblea [Aspose.Words](../../../)
