Output

Output class

Represents a collection of output elements for IWebDocument.

add

NameDescription
add (String, String, TContextObject)Adds an output element for the context object.

Parameters:

NameTypeDescription
pathStringOutput path.
templateKeyStringThe key of the template used for context object transformation before output.
contextObjectTContextObjectContext object.

Returns: OutputFile


add

NameDescription
add (String, PPImage)Adds an output element for the image.

Parameters:

NameTypeDescription
pathStringOutput path.
imagePPImageImage to output.

Returns: OutputFile


add

NameDescription
add (String, BufferedImage)Adds an output element for the image.

Parameters:

NameTypeDescription
pathStringOutput path.
imageBufferedImageImage to output.

Returns: OutputFile


add

NameDescription
add (String, IImage)Adds an output element for the image.

Parameters:

NameTypeDescription
pathStringOutput path.
imageIImageImage to output.

Returns: OutputFile


add

NameDescription
add (String, Video)Adds an output element for the video.

Parameters:

NameTypeDescription
pathStringOutput path.
videoVideoVideo to output.

Returns: OutputFile


add

NameDescription
add (String, FontData, int)Adds an output element for the font.

Parameters:

NameTypeDescription
pathStringOutput path.
fontDataFontDataFont to output.
fontStyleintFont style.

Returns: OutputFile


add

NameDescription
add (String, String)Adds an output element for the text content.

Parameters:

NameTypeDescription
pathStringOutput path.
textContentStringContent to output.

Returns: OutputFile


bindResource

NameDescription
bindResource (OutputFile, Object)Binds resource to output file.

Parameters:

NameTypeDescription
outputFileOutputFileOutput file.
objObjectResource object.

Returns: void


getResourcePath

NameDescription
getResourcePath (Object)Returns the path for a given resource.

Parameters:

NameTypeDescription
objObjectResource object.

Returns: String