• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Class SlideSize

Represents the slide size used by the presentation model.

Inheritance
object
SlideSize
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
Namespace: DRIT.Presentation
Assembly: DRIT.Presentation.dll
Syntax
public sealed class SlideSize

Properties

Height

Gets or sets the slide height. Setting this value switches SizedFor to Custom.

Declaration
public DoubleUnit Height { get; set; }
Property Value
Type Description
DoubleUnit

SizedFor

Gets or sets the named slide-size preset. When set to a value other than Custom, Width and Height are updated to the standard OOXML dimensions for that preset. When set to Custom only the OOXML type flag is changed; use SetSize(double, double, ScreenMeasurementUnit) or the property setters to adjust the dimensions.

Declaration
public SlideSizePreset SizedFor { get; set; }
Property Value
Type Description
SlideSizePreset

Width

Gets or sets the slide width. Setting this value switches SizedFor to Custom.

Declaration
public DoubleUnit Width { get; set; }
Property Value
Type Description
DoubleUnit

Methods

SetSize(double, double, ScreenMeasurementUnit)

Sets the slide dimensions in one call using a scalar value and a unit. Also switches SizedFor to Custom.

Declaration
public void SetSize(double width, double height, ScreenMeasurementUnit unit)
Parameters
Type Name Description
double width
double height
ScreenMeasurementUnit unit
Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX