ParagraphFormatWordWrap Property |
If this property is false, Latin text in the middle of a word can be wrapped for
the current paragraph. Otherwise Latin text is wrapped by whole words.
Namespace:
Aspose.Words
Assembly:
Aspose.Words (in Aspose.Words.dll) Version: 20.3
Syntaxpublic bool WordWrap { get; set; }
Public Property WordWrap As Boolean
Get
Set
public:
property bool WordWrap {
bool get ();
void set (bool value);
}
member WordWrap : bool with get, set
Property Value
Type:
Boolean
ExamplesShows how to set special properties for Asian typography.
Document doc = new Document(MyDir + "Document.docx");
ParagraphFormat format = doc.FirstSection.Body.Paragraphs[0].ParagraphFormat;
format.FarEastLineBreakControl = true;
format.WordWrap = false;
format.HangingPunctuation = true;
doc.Save(ArtifactsDir + "Paragraph.AsianTypographyProperties.docx");
See Also