SetSize

ISlideSize.SetSize method (1 of 2)

Sets the type of slide size and scales content using scale type. Assigning any value except Custom will change Size accordingly, but will keep Orientation intact.

public void SetSize(SlideSizeType type, SlideSizeScaleType scaleType)
Parameter Type Description
type SlideSizeType Slide size type.
scaleType SlideSizeScaleType Scale type of slide content.

See Also


ISlideSize.SetSize method (2 of 2)

Sets the size in points and scales content using scale type. Assigning any value will reset Type property to Custom and set Orientation.

public void SetSize(float width, float height, SlideSizeScaleType scaleType)
Parameter Type Description
width Single Width.
height Single Height.
scaleType SlideSizeScaleType Scale type of slide content.

See Also