ImageFileName

ImageExportContext.ImageFileName property

Gets or sets the name of the image file. This property contains the default filename generated by the library, which you can modify if needed.

public string ImageFileName { get; set; }

Property Value

The name of the image file. The library provides a default value in the format “img-001.png” (or other image extension). The number is automatically incremented for each subsequent image (e.g., “img-002.png”, “img-003.png”).

Examples

var context = new ImageExportContext();
context.ImageFileName = "custom-image-name.png";

See Also