Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

PowerPointSlideSizeFluent

OfficeIMO.PowerPoint

Namespace
OfficeIMO.PowerPoint
Assembly
OfficeIMO.PowerPoint
Modifiers
static

The fluent methods of PowerPointSlideSize, generated from its public properties: A property-named method sets a property and a singular-named method adds to a collection, both returning the same instance.

Inheritance

  • object
  • PowerPointSlideSizeFluent

Methods

public static PowerPointSlideSize Height(PowerPointSlideSize powerPointSlideSize, OfficeLength value) #

Sets PowerPointSlideSize.Height: Slide height.

Parameters

powerPointSlideSize OfficeIMO.PowerPoint.PowerPointSlideSize required
The instance.
value OfficeIMO.OfficeLength required
The value.

Returns

PowerPointSlideSize The same instance.

Examples

// C# initializer or property          // C# fluent
powerPointSlideSize.Height = value;    powerPointSlideSize.Height(value);
public static PowerPointSlideSize Preset(PowerPointSlideSize powerPointSlideSize, PowerPointSlideSizePreset preset, bool portrait = false) #

Sets a slide size preset.

Parameters

powerPointSlideSize OfficeIMO.PowerPoint.PowerPointSlideSize required
The instance.
preset OfficeIMO.PowerPoint.PowerPointSlideSizePreset required
The value.
portrait bool = false optional
The value.

Returns

PowerPointSlideSize The same instance.
Size 2 overloads
public static PowerPointSlideSize Size(PowerPointSlideSize powerPointSlideSize, OfficeLength width, OfficeLength height) #

Sets a custom slide size with explicit lengths.

Parameters

powerPointSlideSize OfficeIMO.PowerPoint.PowerPointSlideSize required
The instance.
width OfficeIMO.OfficeLength required
The value.
height OfficeIMO.OfficeLength required
The value.

Returns

PowerPointSlideSize The same instance.
public static PowerPointSlideSize Size(PowerPointSlideSize powerPointSlideSize, OfficeLength width, OfficeLength height, PowerPointSlideSizeType type) #

Sets the slide size and its preset type.

Parameters

powerPointSlideSize OfficeIMO.PowerPoint.PowerPointSlideSize required
The instance.
width OfficeIMO.OfficeLength required
The value.
height OfficeIMO.OfficeLength required
The value.
type OfficeIMO.PowerPoint.PowerPointSlideSizeType required
The value.

Returns

PowerPointSlideSize The same instance.
public static PowerPointSlideSize Type(PowerPointSlideSize powerPointSlideSize, PowerPointSlideSizeType? value) #

Sets PowerPointSlideSize.Type: Slide size preset type.

Parameters

powerPointSlideSize OfficeIMO.PowerPoint.PowerPointSlideSize required
The instance.
value OfficeIMO.PowerPoint.PowerPointSlideSizeType? required
The value.

Returns

PowerPointSlideSize The same instance.

Examples

// C# initializer or property        // C# fluent
powerPointSlideSize.Type = value;    powerPointSlideSize.Type(value);
public static PowerPointSlideSize Width(PowerPointSlideSize powerPointSlideSize, OfficeLength value) #

Sets PowerPointSlideSize.Width: Slide width.

Parameters

powerPointSlideSize OfficeIMO.PowerPoint.PowerPointSlideSize required
The instance.
value OfficeIMO.OfficeLength required
The value.

Returns

PowerPointSlideSize The same instance.

Examples

// C# initializer or property         // C# fluent
powerPointSlideSize.Width = value;    powerPointSlideSize.Width(value);