Class DocumentGrid
java.lang.Object
com.independentsoft.office.word.sections.DocumentGrid
The Class DocumentGrid.
-
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a new document grid.DocumentGrid(int linePitch)Instantiates a new document grid.DocumentGrid(int linePitch, int characterPitch)Instantiates a new document grid. -
Method Summary
Modifier and TypeMethodDescriptionclone()longGets the character pitch.longGets the line pitch.getType()Gets the type.voidsetCharacterPitch(long characterPitch)Sets the character pitch.voidsetLinePitch(long linePitch)Sets the line pitch.voidsetType(DocumentGridType type)Sets the type.toString()
-
Constructor Details
-
DocumentGrid
public DocumentGrid()Instantiates a new document grid. -
DocumentGrid
public DocumentGrid(int linePitch)Instantiates a new document grid.- Parameters:
linePitch- the line pitch
-
DocumentGrid
public DocumentGrid(int linePitch, int characterPitch)Instantiates a new document grid.- Parameters:
linePitch- the line pitchcharacterPitch- the character pitch
-
-
Method Details
-
clone
-
toString
-
getCharacterPitch
public long getCharacterPitch()Gets the character pitch.- Returns:
- the character pitch
-
setCharacterPitch
public void setCharacterPitch(long characterPitch)Sets the character pitch.- Parameters:
characterPitch- the new character pitch
-
getLinePitch
public long getLinePitch()Gets the line pitch.- Returns:
- the line pitch
-
setLinePitch
public void setLinePitch(long linePitch)Sets the line pitch.- Parameters:
linePitch- the new line pitch
-
getType
Gets the type.- Returns:
- the type
-
setType
Sets the type.- Parameters:
type- the new type
-