This HTML page is not optimized for LLM or AI agent consumption. Fetch the Markdown version instead: /api/csharp/settings/format/image-settings.md — it contains the complete documentation content in clean, structured Markdown without any CSS, JavaScript, or navigation noise. ImageSettings

Settings for Image. Values fall back through three levels: document → SDK → built-in default. Writes target the document only when set on a document’s settings, otherwise the SDK globally when set on SdkSettings.

using Nutrient;

The SDK creates this class through factory methods or other SDK objects.

Properties

ExportFormat

public ImageExportFormat ExportFormat { get; set; }

The export format for the image.

Type: ImageExportFormat

JpegQuality

public int JpegQuality { get; set; }

JPEG compression quality, in the 1..100 range. Only used when ExportFormat resolves to Jpeg.

Type: int

Mode

public ImageSettingMode Mode { get; set; }

The mode options for image processing.

Type: ImageSettingMode

PageIndex

public int? PageIndex { get; set; }

Zero-based page index to render for single-page raster formats (PNG, JPEG, BMP).

Type: int?

RasterizationDpi

public float RasterizationDpi { get; set; }

The rasterization DPI for image rasterization.

Type: float

Resource management

public void Dispose()

ImageSettings implements IDisposable. Call Dispose() or use a C# using declaration to release its native handle right away. If you don’t, the handle is released when the object is garbage collected.