public class PageDescriptor extends AbstractDescriptor
AbstractAFPObject.Category, AbstractAFPObject.Typeheight, heightRes, width, widthRestripletsLOG, SF_CLASS, SF_HEADER_LENGTH| Constructor and Description |
|---|
PageDescriptor(int width,
int height,
int widthRes,
int heightRes)
Construct a page descriptor for the specified page width
and page height.
|
| Modifier and Type | Method and Description |
|---|---|
void |
writeToStream(OutputStream os)
DataStream objects must implement the writeToStream()
method to write its data to the given OutputStream
|
getHeight, getWidth, toStringaddTriplet, addTriplets, getFullyQualifiedName, getTripletDataLength, getTriplets, hasTriplet, hasTriplets, setComment, setFullyQualifiedName, setFullyQualifiedName, setObjectClassification, writeTripletswriteContent, writeEnd, writeStartcopySF, copySF, truncate, writeChunksToStream, writeObjectspublic PageDescriptor(int width,
int height,
int widthRes,
int heightRes)
width - The page width.height - The page height.widthRes - The page width resolutionheightRes - The page height resolutionpublic void writeToStream(OutputStream os) throws IOException
writeToStream in interface StreamablewriteToStream in class AbstractStructuredObjectos - the outputsteam streamIOException - an I/O exception of some sort has occurred.Copyright © 2025 Apache Software Foundation. All rights reserved.