com.aspose.words
Class DocGridType

java.lang.Object
    extended by com.aspose.words.DocGridType

public class DocGridType 
extends java.lang.Object

Utility class containing constants. Specifies the type of the document grid for a section, which defines the grid behavior.

Field Summary
static final intDEFAULT
           Specifies that no document grid shall be applied to the contents of the corresponding section in the document.
static final intLINES_AND_CHARS
           Specifies that the corresponding section shall have both the additional line pitch and character pitch added to each line and character within it in order to maintain a specific number of lines per page and characters per line.
static final intLINES
           Specifies that the corresponding section shall have additional line pitch added to each line within it in order to maintain the specified number of lines per page.
static final intSNAP_TO_CHARS
           Specifies that the corresponding section shall have additional character pitch added character within it in order to maintain a specific number of characters per line.
 

Field Detail

DEFAULT

public static final int DEFAULT
Specifies that no document grid shall be applied to the contents of the corresponding section in the document.

LINES_AND_CHARS

public static final int LINES_AND_CHARS
Specifies that the corresponding section shall have both the additional line pitch and character pitch added to each line and character within it in order to maintain a specific number of lines per page and characters per line.

LINES

public static final int LINES
Specifies that the corresponding section shall have additional line pitch added to each line within it in order to maintain the specified number of lines per page.

SNAP_TO_CHARS

public static final int SNAP_TO_CHARS
Specifies that the corresponding section shall have additional character pitch added character within it in order to maintain a specific number of characters per line.

See Also:
          Aspose.Words Documentation - the home page for the Aspose.Words Product Documentation.
          Aspose.Words Support Forum - our preferred method of support.