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; }Gets or sets the value of ExportFormat. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.
Type: ImageExportFormat
JpegQuality
public int JpegQuality { get; set; }Gets or sets the value of JpegQuality. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.
Type: int
Mode
public ImageSettingMode Mode { get; set; }Gets or sets the value of Mode. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.
Type: ImageSettingMode
PageIndex
public int? PageIndex { get; set; }Gets or sets the value of PageIndex. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.
Type: int?
RasterizationDpi
public float RasterizationDpi { get; set; }Gets or sets the value of RasterizationDpi. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.
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.