AddSpaceBetweenFarEastAndAlpha

ParagraphFormat.AddSpaceBetweenFarEastAndAlpha property

Ruft ein Flag ab oder legt es fest, das angibt, ob der Zeichenabstand zwischen Bereichen mit lateinischem Text und Bereichen mit ostasiatischem Text im aktuellen Absatz automatisch angepasst wird.

public bool AddSpaceBetweenFarEastAndAlpha { get; set; }

Beispiele

Zeigt, wie ein Absatz in das Dokument eingefügt wird.

Document doc = new Document();
DocumentBuilder builder = new DocumentBuilder(doc);

Font font = builder.Font;
font.Size = 16;
font.Bold = true;
font.Color = Color.Blue;
font.Name = "Arial";
font.Underline = Underline.Dash;

ParagraphFormat paragraphFormat = builder.ParagraphFormat;
paragraphFormat.FirstLineIndent = 8;
paragraphFormat.Alignment = ParagraphAlignment.Justify;
paragraphFormat.AddSpaceBetweenFarEastAndAlpha = true;
paragraphFormat.AddSpaceBetweenFarEastAndDigit = true;
paragraphFormat.KeepTogether = true;

// Die Methode "Writeln" beendet den Absatz nach dem Anhängen von Text
// und beginnt dann eine neue Zeile und fügt einen neuen Absatz hinzu.
builder.Writeln("Hello world!");

Assert.True(builder.CurrentParagraph.IsEndOfDocument);

Siehe auch