exportDiagram
public ImageData exportDiagram(java.io.OutputStream os,
int num,
FileFormatOption fileFormat)
throws java.io.IOException
Description copied from interface: Diagram
Export the diagram as an image to some format. Note that a diagram could be drawn as several images (think about
new page
for sequence diagram for example).
- Parameters:
os
- where to write the image
num
- useually 0 (index of the image to be exported for this diagram).
fileFormat
- file format to use
- Returns:
- a description of the generated image
- Throws:
java.io.IOException