SetSize()
Contents
[
Hide
]SlideSize::SetSize(SlideSizeType, SlideSizeScaleType) method
Sets the type of slide size and scales content using scale type.
void Aspose::Slides::SlideSize::SetSize(SlideSizeType type, SlideSizeScaleType scaleType) override
Arguments
Parameter | Type | Description |
---|---|---|
type | SlideSizeType | Slide size type. |
scaleType | SlideSizeScaleType | Scale type of slide content. |
Remarks
Assigning any value except SlideSizeType::Custom will change SlideSize::get_Size accordingly, but will keep SlideSize::get_Orientation intact.
SlideSize::SetSize(float, float, SlideSizeScaleType) method
Sets the size in points and scales content using scale type.
void Aspose::Slides::SlideSize::SetSize(float width, float height, SlideSizeScaleType scaleType) override
Arguments
Parameter | Type | Description |
---|---|---|
width | float | Width. |
height | float | Height. |
scaleType | SlideSizeScaleType | Scale type of slide content. |
Remarks
Assigning any value will reset Type property to SlideSizeType::Custom and set SlideSize::get_Orientation().
See Also
- Enum SlideSizeType
- Enum SlideSizeScaleType
- Class SlideSize
- Namespace Aspose::Slides
- Library Aspose.Slides