Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

PowerPointSlideBackground

OfficeIMO.PowerPoint

Namespace
OfficeIMO.PowerPoint
Assembly
OfficeIMO.PowerPoint
Source revision
e163ccb36643 with working tree changes
Modifiers
sealed

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

Inheritance

  • object
  • PowerPointSlideBackground

Usage

Explore 1 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 1

Properties

public PowerPointSlideBackgroundKind Kind { get; } #

Background kind.

public string? Color { get; } #

Solid background color as RGB or RGBA hex when PowerPointSlideBackground.Kind is PowerPointSlideBackgroundKind.SolidColor.

public byte[]? ImageBytes { get; } #

Embedded background image bytes when PowerPointSlideBackground.Kind is PowerPointSlideBackgroundKind.Image.

public string? ImageContentType { get; } #

Embedded image content type when PowerPointSlideBackground.Kind is PowerPointSlideBackgroundKind.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 bool HasImageCrop { get; } #

True when the image background carries a source crop.

public string? GradientStartColor { get; } #

First linear gradient color as RGB or RGBA hex when PowerPointSlideBackground.Kind is PowerPointSlideBackgroundKind.LinearGradient.

public string? GradientEndColor { get; } #

Last linear gradient color as RGB or RGBA hex when PowerPointSlideBackground.Kind is PowerPointSlideBackgroundKind.LinearGradient.

public double? GradientAngleDegrees { get; } #

PowerPoint linear gradient angle in degrees when available.

public string? UnsupportedReason { get; } #

Explanation for unsupported background fills.