NormalViewRestoredProperties Struct
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.1.dll
NuGet Package: DevExpress.Docs.Presentation
Declaration
Related API Members
The following members return NormalViewRestoredProperties objects:
Remarks
Create a NormalViewRestoredProperties
instance with its constructor to specify its properties.
Define the Region Width
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;
}
Define the Region Height
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;
}
See Also