public class DeviceViewport extends Command
| Constructor and Description |
|---|
DeviceViewport(CgmFile container) |
DeviceViewport(CgmFile container,
ViewportPoint firstCorner,
ViewportPoint secondCorder) |
| Modifier and Type | Method and Description |
|---|---|
ViewportPoint |
getFirstCorner() |
ViewportPoint |
getSecondCorner() |
void |
readFromBinary(IBinaryReader reader)
Reads the binary data from the reader
|
void |
setFirstCorner(ViewportPoint value) |
void |
setSecondCorner(ViewportPoint 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 DeviceViewport(CgmFile container)
public DeviceViewport(CgmFile container, ViewportPoint firstCorner, ViewportPoint secondCorder)
public final ViewportPoint getFirstCorner()
public final void setFirstCorner(ViewportPoint value)
public final ViewportPoint getSecondCorner()
public final void setSecondCorner(ViewportPoint 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.