API Reference
Class
OfficeWebpEncodeOptions
Controls managed WebP encoding.
Inheritance
- Object
- OfficeWebpEncodeOptions
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
- Property OfficeRasterEncodingOptions.Webp
Accepted by parameters
- Method OfficeWebpCodec.Encode
- Method OfficeWebpCodec.Encode
- Method OfficeWebpCodec.EncodeTo
- Method OfficeWebpCodec.EncodeTo
Constructors
public OfficeWebpEncodeOptions() #Inherited Methods
Properties
public OfficeWebpEncodingMode Mode { get; set; } #The compression mode. Lossless preserves the existing default encoding contract.
public Int32 Quality { get; set; } #VP8 color quality from 1 through 100. This setting applies only to lossy encoding.
public Double DpiX { get; set; } #Horizontal resolution written to Exif when physical resolution is enabled.
public Double DpiY { get; set; } #Vertical resolution written to Exif when physical resolution is enabled.
public Boolean WritePhysicalResolution { get; set; } #Writes Exif physical resolution metadata.