API Reference
OfficeArtPictureProperties
Decodes OfficeArt picture-frame properties that can be shared by binary Office consumers.
Inheritance
- Object
- OfficeArtPictureProperties
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
Methods
public static OfficeArtPictureProperties Decode(IReadOnlyList<OfficeArtProperty> properties) #OfficeArtPicturePropertiesDecodes picture-frame properties from an OfficeArt property table.
Parameters
- properties System.Collections.Generic.IReadOnlyList{OfficeIMO.Drawing.Binary.OfficeArtProperty}
Inherited Methods
public override Boolean Equals(Object obj) #BooleanParameters
- obj Object
Properties
public IReadOnlyList<OfficeArtProperty> Properties { get; } #Gets the source property entries.
public Nullable<Int32> CropFromTopRaw { get; } #Gets the raw signed 16.16 top crop value.
public Nullable<Int32> CropFromBottomRaw { get; } #Gets the raw signed 16.16 bottom crop value.
public Nullable<Int32> CropFromLeftRaw { get; } #Gets the raw signed 16.16 left crop value.
public Nullable<Int32> CropFromRightRaw { get; } #Gets the raw signed 16.16 right crop value.
public Nullable<OfficeArtColorReference> TransparentColor { get; } #Gets the color treated as transparent, when explicitly present.
public Nullable<Int32> ContrastRaw { get; } #Gets the raw signed picture-contrast value, where 0x00010000 means unchanged.
public Nullable<Int32> BrightnessRaw { get; } #Gets the raw signed picture-brightness value in the range -0x8000 through 0x8000.
public Nullable<Double> BrightnessAdjustment { get; } #Gets brightness adjustment from -1 through 1 by scaling the signed OfficeArt endpoint range of -0x8000 through 0x8000.
public Nullable<Double> ContrastAdjustment { get; } #Gets contrast adjustment from -1 through 1. Values through 0x10000 scale toward minimum contrast; larger multipliers scale asymptotically toward maximum contrast.
public Nullable<OfficeArtColorReference> RecolorColor { get; } #Gets the picture recolor color, when explicitly present.
public Nullable<Boolean> Grayscale { get; } #Gets explicit grayscale display state, or null when inherited.
public Nullable<Boolean> BiLevel { get; } #Gets explicit two-color black-and-white display state, or null when inherited.
public Nullable<Double> CropFromTop { get; } #Gets the top crop as a fraction of image height.
public Nullable<Double> CropFromBottom { get; } #Gets the bottom crop as a fraction of image height.
public Nullable<Double> CropFromLeft { get; } #Gets the left crop as a fraction of image width.
public Nullable<Double> CropFromRight { get; } #Gets the right crop as a fraction of image width.
public Boolean HasExplicitCrop { get; } #Gets whether at least one explicit crop property is present.
public Boolean HasCrop { get; } #Gets whether any edge crops into or out from the source image.
public Boolean HasPictureEffect { get; } #Gets whether the picture has an explicitly enabled visual effect.