Class
PowerPointSlideSizeFluent
OfficeIMO.PowerPoint
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
- The instance.
- value OfficeIMO.OfficeLength
- The value.
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
- The instance.
- preset OfficeIMO.PowerPoint.PowerPointSlideSizePreset
- The value.
- portrait bool = false
- The value.
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
- The instance.
- width OfficeIMO.OfficeLength
- The value.
- height OfficeIMO.OfficeLength
- The value.
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
- The instance.
- width OfficeIMO.OfficeLength
- The value.
- height OfficeIMO.OfficeLength
- The value.
- type OfficeIMO.PowerPoint.PowerPointSlideSizeType
- The value.
public static PowerPointSlideSize Type(PowerPointSlideSize powerPointSlideSize, PowerPointSlideSizeType? value) #Sets PowerPointSlideSize.Type: Slide size preset type.
Parameters
- powerPointSlideSize OfficeIMO.PowerPoint.PowerPointSlideSize
- The instance.
- value OfficeIMO.PowerPoint.PowerPointSlideSizeType?
- The value.
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
- The instance.
- value OfficeIMO.OfficeLength
- The value.
Examples
// C# initializer or property // C# fluent
powerPointSlideSize.Width = value; powerPointSlideSize.Width(value);