public class ScalingMode extends Command
Class=2, Element=1
| Modifier and Type | Class and Description |
|---|---|
static class |
ScalingMode.Mode |
| Constructor and Description |
|---|
ScalingMode(CgmFile container) |
ScalingMode(CgmFile container,
ScalingMode.Mode mode,
double factor) |
| Modifier and Type | Method and Description |
|---|---|
double |
getMetricScalingFactor() |
ScalingMode.Mode |
getValue() |
void |
readFromBinary(IBinaryReader reader)
Reads the binary data from the reader
|
void |
setMetricScalingFactor(double value) |
void |
setValue(ScalingMode.Mode value) |
String |
toString() |
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, getElementIdpublic ScalingMode(CgmFile container)
public ScalingMode(CgmFile container, ScalingMode.Mode mode, double factor)
public final ScalingMode.Mode getValue()
public final void setValue(ScalingMode.Mode value)
public final double getMetricScalingFactor()
public final void setMetricScalingFactor(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.