Aspose::Words::ParagraphFormat::get_FarEastLineBreakControl method

ParagraphFormat::get_FarEastLineBreakControl method

Gets or sets a flag indicating whether East Asian line-breaking rules are applied to the current paragraph.

bool Aspose::Words::ParagraphFormat::get_FarEastLineBreakControl()

Examples

Shows how to set special properties for Asian typography.

auto doc = MakeObject<Document>(MyDir + u"Document.docx");

SharedPtr<ParagraphFormat> format = doc->get_FirstSection()->get_Body()->get_FirstParagraph()->get_ParagraphFormat();
format->set_FarEastLineBreakControl(true);
format->set_WordWrap(false);
format->set_HangingPunctuation(true);

doc->Save(ArtifactsDir + u"ParagraphFormat.AsianTypographyProperties.docx");

See Also