NormalViewProperties.RestoredTop Property
Gets or sets the height of the slide area in the normal view (when the slide area is not minimized or maximized).
Namespace: DevExpress.Docs.Presentation
Assembly: DevExpress.Docs.Presentation.v25.1.dll
NuGet Package: DevExpress.Docs.Presentation
Declaration
Property Value
Type | Default | Description |
---|---|---|
NormalViewRestoredProperties | NormalViewRestoredProperties.Default | The size of the top content region. |
Remarks
The following code snippet resizes the slide region and disables its size autoadjustment:
using (Presentation presentation = new Presentation("document.pptx")) {
NormalViewRestoredProperties viewProps = new NormalViewRestoredProperties(10.0, false);
presentation.ViewProperties.NormalViewProperties.RestoredTop = viewProps;
}
See Also