ImageExportContext

Inheritance: java.lang.Object

public class ImageExportContext

Contains information about a single image encountered during conversion. Passed to IImageExportStrategy.getImageStream(ImageExportContext).

Methods

Method Description
getImageFileName() Gets the image file name (without directory path).
setImageFileName(String imageFileName) Allows strategies to modify the file name before export.

getImageFileName()

public String getImageFileName()

Gets the image file name (without directory path). The default value is generated by the library in the format img-001.png .

Returns: java.lang.String

setImageFileName(String imageFileName)

public void setImageFileName(String imageFileName)

Allows strategies to modify the file name before export. (C# had internal set; in Java we expose a controlled setter)

Parameters:

Parameter Type Description
imageFileName java.lang.String