Range.DisableCharacterSpaceGrid Property 

Determines if Microsoft Word ignores the number of characters per line for the range.

Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in microsoft.office.interop.word.dll)

Usage

Dim range1 As Range

Dim returnValue As Boolean
returnValue = range1.DisableCharacterSpaceGrid

Dim sampleValue As Boolean
range1.DisableCharacterSpaceGrid = sampleValue

Syntax

Property DisableCharacterSpaceGrid() As Boolean
bool DisableCharacterSpaceGrid {get; set;}
property Boolean DisableCharacterSpaceGrid{
    Boolean get();
    Void set(Boolean);
}
public boolean get_DisableCharacterSpaceGrid();
public void set_DisableCharacterSpaceGrid(boolean);
function get DisableCharacterSpaceGrid() : Boolean;
function set DisableCharacterSpaceGrid(Boolean);

Remarks

This property returns True if Word ignores the number of characters per line for the range, and False if not.

Returns wdUndefined if the DisableCharacterSpaceGrid property is set to True for only some of the specified range.

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

Range Interface
Microsoft.Office.Interop.Word Namespace

Other Resources

Range Members