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
| Value | Description |
|---|---|
DEFAULT | Specifies that no document grid shall be applied to the contents of the corresponding section in the document. |
GRID | 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. |
LINE_GRID | 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 | 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. |
Properties
| Name | Type | Access | Description |
|---|---|---|---|
values | int[] | Read | Returns array of SectionLayoutMode values. |
Methods
| Signature | Description |
|---|---|
getName(sectionLayoutMode: int) → String | Returns JAVA_STYLE string representation of integer SectionLayoutMode value. |
toString(sectionLayoutMode: int) → String | Returns DotNetStyle string representation of integer SectionLayoutMode value. |
fromName(sectionLayoutModeName: String) → int | Returns integer representation by SectionLayoutMode name. |
getValues() → int[] | Returns array of SectionLayoutMode values. |