SetSize()
Contents
[
Hide
]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
Parameter | Type | Description |
---|---|---|
type | SlideSizeType | Slide size type. |
scaleType | SlideSizeScaleType | Scale 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
Parameter | Type | Description |
---|---|---|
width | float | Width. |
height | float | Height. |
scaleType | SlideSizeScaleType | Scale type of slide content. |
See Also
- Enum SlideSizeType
- Enum SlideSizeScaleType
- Class ISlideSize
- Namespace Aspose::Slides
- Library Aspose.Slides