officefileapi-devexpress-dot-docs-dot-presentation-864f857a.md
Contains properties that define a region size when the normal view is active and the region is not minimized or maximized.
Namespace : DevExpress.Docs.Presentation
Assembly : DevExpress.Docs.Presentation.v25.2.dll
NuGet Package : DevExpress.Docs.Presentation
public readonly struct NormalViewRestoredProperties
Public Structure NormalViewRestoredProperties
The following members return NormalViewRestoredProperties objects:
Create a NormalViewRestoredProperties instance with its constructor to specify its properties.
This property defines the region width when used in the RestoredTop property. The following code snippet extends the side content region:
using (Presentation presentation = new Presentation("document.pptx")) {
NormalViewRestoredProperties viewProps = new NormalViewRestoredProperties(100.0);
presentation.ViewProperties.NormalViewProperties.RestoredLeft = viewProps;
}
Using presentation As New Presentation("document.pptx")
Dim viewProps As New NormalViewRestoredProperties(100.0)
presentation.ViewProperties.NormalViewProperties.RestoredLeft = viewProps
End Using
If this property is used in the RestoredLeft property, it defines the region height. The following code snippet resizes the slide region:
using (Presentation presentation = new Presentation("document.pptx")) {
NormalViewRestoredProperties viewProps = new NormalViewRestoredProperties(10.0);
presentation.ViewProperties.NormalViewProperties.RestoredTop = viewProps;
}
Using presentation As New Presentation("document.pptx")
Dim viewProps As New NormalViewRestoredProperties(10.0)
presentation.ViewProperties.NormalViewProperties.RestoredTop = viewProps
End Using
See Also