public final class Output
extends java.lang.Object
Represents a collection of output elements for IWebDocument.
| Modifier and Type | Method and Description |
|---|---|
IOutputFile |
add(java.lang.String path,
java.awt.image.BufferedImage image)
Deprecated.
UseIOutputFile Add(string path, IImage image) method instead. The method will be removed after release of version 24.7.
|
IOutputFile |
add(java.lang.String path,
IFontData fontData,
int fontStyle)
Adds an output element for the font.
|
IOutputFile |
add(java.lang.String path,
IImage image)
Adds an output element for the image.
|
IOutputFile |
add(java.lang.String path,
IPPImage image)
Adds an output element for the image.
|
IOutputFile |
add(java.lang.String path,
IVideo video)
Adds an output element for the video.
|
IOutputFile |
add(java.lang.String path,
java.lang.String textContent)
Adds an output element for the text content.
|
<TContextObject> |
add(java.lang.String path,
java.lang.String templateKey,
TContextObject contextObject)
Adds an output element for the context object.
|
void |
bindResource(IOutputFile outputFile,
java.lang.Object obj)
Binds resource to output file.
|
java.lang.String |
getResourcePath(java.lang.Object obj)
Returns the path for a given resource.
|
public final <TContextObject> IOutputFile add(java.lang.String path, java.lang.String templateKey, TContextObject contextObject)
Adds an output element for the context object.
path - Output path.templateKey - The key of the template used for context object transformation before output.contextObject - Context object.IOutputFile object for the context object.public final IOutputFile add(java.lang.String path, IPPImage image)
Adds an output element for the image.
path - Output path.image - Image to output.IOutputFile object for the image.@Deprecated public final IOutputFile add(java.lang.String path, java.awt.image.BufferedImage image)
Adds an output element for the image.
path - Output path.image - Image to output.IOutputFile object for the image.public final IOutputFile add(java.lang.String path, IImage image)
Adds an output element for the image.
path - Output path.image - Image to output.IOutputFile object for the image.public final IOutputFile add(java.lang.String path, IVideo video)
Adds an output element for the video.
path - Output path.video - Video to output.IOutputFile object for the video.public final IOutputFile add(java.lang.String path, IFontData fontData, int fontStyle)
Adds an output element for the font.
path - Output path.fontData - Font to output.fontStyle - Font style (FontStyleType).IOutputFile object for the font.public final IOutputFile add(java.lang.String path, java.lang.String textContent)
Adds an output element for the text content.
path - Output path.textContent - Content to output.IOutputFile object for the text content.public final void bindResource(IOutputFile outputFile, java.lang.Object obj)
Binds resource to output file.
outputFile - Output file.obj - Resource object.public final java.lang.String getResourcePath(java.lang.Object obj)
Returns the path for a given resource.
obj - Resource object.Copyright © 2004-2025 Aspose Pty Ltd. All Rights Reserved.