API Reference
WordImageOptimizationOptions
Managed embedded-media optimization settings. Changes remain in memory until a normal save.
Inheritance
- Object
- WordImageOptimizationOptions
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
Accepted by parameters
Constructors
public WordImageOptimizationOptions() #Methods
public WordImageOptimizationOptions Clone() #WordImageOptimizationOptionsCreates an independently validated copy of these settings.
Inherited Methods
public override Boolean Equals(Object obj) #BooleanParameters
- obj Object
Properties
public OfficeImageOptimizationMode Mode { get; set; } #Defaults to placement-aware downsampling without same-size JPEG recompression.
public Double TargetDpi { get; set; } #Required pixels per displayed inch, between 36 and 1200. Defaults to 144.
public Int32 JpegQuality { get; set; } #JPEG encoding quality, from 1 through 100. Defaults to 85.
public Boolean KeepOriginalWhenNotSmaller { get; set; } #Preserves original bytes when the candidate is not smaller.
public OfficeRasterResamplingMode ResamplingMode { get; set; } #Filtering used for pixel reduction.
public OfficeImageMetadataPolicy MetadataPolicy { get; set; } #Metadata policy. Metadata loss blocks replacement unless explicitly allowed.
public OfficeImageMetadataKinds MetadataSelection { get; set; } #Categories retained by the selective metadata policy.
public Boolean AllowMetadataLoss { get; set; } #Allows reported metadata loss, including intentional stripping. Defaults to false.
public Int64 MaxImageBytes { get; set; } #Maximum encoded bytes read from one image part. Defaults to 32 MiB.
public Int64 MaxStagedBytes { get; set; } #Maximum combined original and candidate bytes retained for transactional replacement. Defaults to 128 MiB.
public Int32 MaxPackageParts { get; set; } #Maximum package parts visited. Defaults to 10000.
public WordSignedDocumentSavePolicy SignedDocumentPolicy { get; set; } #Save policy used to authorize invalidating a signed package during mutation.