SectionLayoutMode

SectionLayoutMode

Overview

SectionLayoutMode is an enum in Aspose.Words FOSS for Java.

Specifies the layout mode for a section allowing to define the document grid behavior.

Edition status of its 9 listed members (a property and its accessor methods are listed separately, overloads once): 9 not yet exercised by a verified example.

This enum declares 4 methods for SectionLayoutMode objects in Java programs. Available methods include: fromName, getName, getValues, toString. Public members are accessible to any Java application after installing the Aspose.Words FOSS for Java package. Properties: values.

Values

ValueDescription
DEFAULTSpecifies that no document grid shall be applied to the contents of the corresponding section in the document.
GRIDSpecifies 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.
LINE_GRIDSpecifies 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_CHARSSpecifies 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.

Properties

NameTypeAccessDescription
valuesint[]ReadReturns array of SectionLayoutMode values.

Methods

SignatureDescription
getName(sectionLayoutMode: int) → StringReturns JAVA_STYLE string representation of integer SectionLayoutMode value.
toString(sectionLayoutMode: int) → StringReturns DotNetStyle string representation of integer SectionLayoutMode value.
fromName(sectionLayoutModeName: String) → intReturns integer representation by SectionLayoutMode name.
getValues() → int[]Returns array of SectionLayoutMode values.

See Also