API Reference
Enum
OfficeImageOptimizationMode
Selects whether image optimization reduces pixels, JPEG encoding quality, or both.
Inheritance
- Enum
- OfficeImageOptimizationMode
Usage
Explore 4 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 4
Inherited Methods
public override Boolean Equals(Object? obj) #Returns:
BooleanInherited from Enum
Parameters
- obj Object?
ToString 4 overloads
public String ToString(IFormatProvider? provider) #Returns:
StringInherited from Enum
Obsolete("The provider argument is not used. Use ToString() instead.")Parameters
- provider IFormatProvider?
public String ToString(String? format, IFormatProvider? provider) #Returns:
StringInherited from Enum
Obsolete("The provider argument is not used. Use ToString(String) instead.")Parameters
- format String?
- provider IFormatProvider?
Values
public const OfficeImageOptimizationMode Downsample #Only re-encodes an image when dimensions or another explicit output policy change.
Value:
0public const OfficeImageOptimizationMode Recompress #Retains pixel dimensions and permits JPEG re-encoding at the requested quality.
Value:
1public const OfficeImageOptimizationMode DownsampleAndRecompress #Reduces excessive pixel dimensions and permits JPEG re-encoding even without resizing.
Value:
2