Paragraph.HangingPunctuation Property
Determines if hanging punctuation is enabled for the specified paragraphs.
Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in microsoft.office.interop.word.dll)
Usage
Dim paragraph1 As Paragraph
Dim returnValue As Integer
returnValue = paragraph1.HangingPunctuation
Dim sampleValue As Integer
paragraph1.HangingPunctuation = sampleValue
Syntax
Property HangingPunctuation() As Integer
int HangingPunctuation {get; set;}
property Int32 HangingPunctuation{
Int32 get();
Void set(Int32);
}
public int get_HangingPunctuation();
public void set_HangingPunctuation(int);
function get HangingPunctuation() : int;
function set HangingPunctuation(int);
Remarks
This property returns True if hanging punctuation is enabled for the specified paragraphs, and False if not. Set the property value to True or False to enable or disable the functionality.
This property returns wdUndefined if it’s set to True for only some of the specified paragraphs.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000
Target Platforms
See Also
Reference
Paragraph Interface
Microsoft.Office.Interop.Word Namespace