public class TextAlignment extends Command
| Constructor and Description |
|---|
TextAlignment(CgmFile container) |
TextAlignment(CgmFile container,
HorizontalAlignmentType horz,
VerticalAlignmentType vert,
double continousHorz,
double continousVert) |
| Modifier and Type | Method and Description |
|---|---|
double |
getContinuousHorizontalAlignment() |
double |
getContinuousVerticalAlignment() |
HorizontalAlignmentType |
getHorizontalAlignment() |
VerticalAlignmentType |
getVerticalAlignment() |
void |
readFromBinary(IBinaryReader reader)
Reads the binary data from the reader
|
void |
setContinuousHorizontalAlignment(double value) |
void |
setContinuousVerticalAlignment(double value) |
void |
setHorizontalAlignment(HorizontalAlignmentType value) |
void |
setVerticalAlignment(VerticalAlignmentType value) |
void |
writeAsBinary(IBinaryWriter writer)
Writes/exports the command as binary mode
|
void |
writeAsClearText(IClearTextWriter writer)
Writes/exports the command as clear text mode
|
assert_, getElementClass, getElementId, toStringpublic TextAlignment(CgmFile container)
public TextAlignment(CgmFile container, HorizontalAlignmentType horz, VerticalAlignmentType vert, double continousHorz, double continousVert)
public final HorizontalAlignmentType getHorizontalAlignment()
public final void setHorizontalAlignment(HorizontalAlignmentType value)
public final VerticalAlignmentType getVerticalAlignment()
public final void setVerticalAlignment(VerticalAlignmentType value)
public final double getContinuousHorizontalAlignment()
public final void setContinuousHorizontalAlignment(double value)
public final double getContinuousVerticalAlignment()
public final void setContinuousVerticalAlignment(double value)
public void readFromBinary(IBinaryReader reader)
CommandReads the binary data from the reader
readFromBinary in class Commandpublic void writeAsBinary(IBinaryWriter writer)
CommandWrites/exports the command as binary mode
writeAsBinary in class Commandwriter - The writer to write the binary content to.public void writeAsClearText(IClearTextWriter writer)
CommandWrites/exports the command as clear text mode
writeAsClearText in class Commandwriter - The text writer to write the clear text to.Copyright (c) 2008-2025 Aspose Pty Ltd. All Rights Reserved.