org.apache.fop.render.afp.modca
Class ImageInputDescriptor
public class ImageInputDescriptor
The IM Image Input Descriptor structured field contains the
descriptor data for an IM image data object. This data specifies
the resolution, size, and color of the IM image.
void | setResolution(int resolution) - Sets the resolution information for the raster image
the default value is a resolution of 240 dpi.
|
void | writeDataStream(OutputStream os) - Accessor method to write the AFP datastream for the Image Input Descriptor
|
setResolution
public void setResolution(int resolution)
Sets the resolution information for the raster image
the default value is a resolution of 240 dpi.
resolution
- The resolution value
writeDataStream
public void writeDataStream(OutputStream os)
throws IOException
Accessor method to write the AFP datastream for the Image Input Descriptor
- writeDataStream in interface AbstractAFPObject
os
- The stream to write to
Copyright 1999-2008 The Apache Software Foundation. All Rights Reserved.