SetSize()

ISlideSize::SetSize(SlideSizeType, SlideSizeScaleType) method

Sets the type of slide size and scales content using scale type. Assigning any value except SlideSizeType::Custom will change ISlideSize::get_Size accordingly, but will keep ISlideSize::get_Orientation intact.

virtual void Aspose::Slides::ISlideSize::SetSize(SlideSizeType type, SlideSizeScaleType scaleType)=0

Arguments

ParameterTypeDescription
typeSlideSizeTypeSlide size type.
scaleTypeSlideSizeScaleTypeScale type of slide content.

ISlideSize::SetSize(float, float, SlideSizeScaleType) method

Sets the size in points and scales content using scale type. Assigning any value will reset ISlideSize::get_Type value to SlideSizeType::Custom and set ISlideSize::get_Orientation.

virtual void Aspose::Slides::ISlideSize::SetSize(float width, float height, SlideSizeScaleType scaleType)=0

Arguments

ParameterTypeDescription
widthfloatWidth.
heightfloatHeight.
scaleTypeSlideSizeScaleTypeScale type of slide content.

See Also