officefileapi-devexpress-dot-docs-dot-presentation-dot-normalviewproperties-2d60a15f.md
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.2.dll
NuGet Package : DevExpress.Docs.Presentation
public NormalViewRestoredProperties RestoredTop { get; set; }
Public Property RestoredTop As NormalViewRestoredProperties
| Type | Default | Description |
|---|---|---|
| NormalViewRestoredProperties | NormalViewRestoredProperties.Default |
The size of the top content region.
|
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;
}
Using presentation As New Presentation("document.pptx")
Dim viewProps As New NormalViewRestoredProperties(10.0, False)
presentation.ViewProperties.NormalViewProperties.RestoredTop = viewProps
End Using
See Also