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, 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)Creates and adds an output file element for the specified font.

Parameters:

NameTypeDescription
pathStringThe file path where the font output will be saved.
fontDataFontDataThe font data to be written to the output.
fontStyleintThe style of the font (e.g., Regular, Bold, Italic).

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.

getResourcePath

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

Parameters:

NameTypeDescription
objObjectResource object.

Returns: String