API Reference

Class

PowerPointSlideBackground

Namespace OfficeIMO.PowerPoint
Assembly OfficeIMO.PowerPoint
Modifiers sealed

Immutable snapshot of a PowerPoint slide background for exporters such as PDF.

Inheritance

  • Object
  • PowerPointSlideBackground

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

Properties

public PowerPointSlideBackgroundKind Kind { get; } #

Background kind.

public String Color { get; } #

Solid background color as a six-digit RGB hex value when Kind is SolidColor.

public Byte[] ImageBytes { get; } #

Embedded background image bytes when Kind is Image.

public String ImageContentType { get; } #

Embedded image content type when Kind is Image.

public Double ImageCropLeft { get; } #

Fraction cropped from the embedded background image left edge.

public Double ImageCropTop { get; } #

Fraction cropped from the embedded background image top edge.

public Double ImageCropRight { get; } #

Fraction cropped from the embedded background image right edge.

public Double ImageCropBottom { get; } #

Fraction cropped from the embedded background image bottom edge.

public Boolean HasImageCrop { get; } #

True when the image background carries a source crop.

public String GradientStartColor { get; } #

First linear gradient color as a six-digit RGB hex value when Kind is LinearGradient.

public String GradientEndColor { get; } #

Last linear gradient color as a six-digit RGB hex value when Kind is LinearGradient.

public Nullable<Double> GradientAngleDegrees { get; } #

PowerPoint linear gradient angle in degrees when available.

public String UnsupportedReason { get; } #

Explanation for unsupported background fills.