CommonSlideViewProperties.Scale Property
Gets or sets the view scaling ratio as a percentage. Applications may ignore this setting.
Namespace: DevExpress.Docs.Presentation
Assembly: DevExpress.Docs.Presentation.v25.1.dll
NuGet Package: DevExpress.Docs.Presentation
Declaration
Property Value
Type | Description |
---|---|
Int32 | The view scaling ratio as a percentage. |
Remarks
The following code snippet specifies the scale of the presentation slide and saves it to a file:
using (Presentation presentation = new Presentation("document.pptx")) {
presentation.ViewProperties.SlideViewProperties.Scale = 300;
presentation.SaveDocument("Zoomed_document.pptx");
}
Note
Presentation applications (like PowerPoint, LibreOffice, or OpenOffice) may ignore this property.
See Also