Forums     Knowledge Base     OfficeWriter Online     
 
 
This documentation is for
OfficeWriter v3.8.1
.NET Platform

View Docs for Another
Version or Platform

Programmer's Reference > WordApplication API > ParagraphFormatting > AllowAutoHyphenation

AllowAutoHyphenation Property


C# Signature:

VB.NET Signature:


Description:

Sets or returns a boolean representing if auto hyphening is allowed for a paragraph.

The default value for a new paragraph is true.

MS Word equivalent: Format menu > Paragraph... > Line and Page Breaks tab > Don't hyphenate

AllowAutoHyphenation is a read / write property.



Examples:

[csharp]
// Return AllowAutoHyphenation
bool allowAutoHyphenation = oParagraphFormatting.AllowAutoHyphenation;
// Set AllowAutoHyphenation
oParagraphFormatting.AllowAutoHyphenation = true;
[vbnet]
' Return AllowAutoHyphenation
Dim allowAutoHyphenation As Boolean = oParagraphFormatting.AllowAutoHyphenation
' Set AllowAutoHyphenation
oParagraphFormatting.AllowAutoHyphenation(True)


Getter

Signature:

public boolean AllowAutoHyphenation

Returns:

boolean A boolean representing if auto hyphening is allowed for a paragraph.

Setter

Signature:

public void AllowAutoHyphenation boolean allow

Type:

boolean



Copyright 2007 © SoftArtisans, Inc. All Rights Reserved.