officefileapi-devexpress-dot-docs-dot-presentation-dot-normalviewproperties.md
Gets or sets the size of the thumbnails pane in the normal view (when the pane is not minimized or maximized).
Namespace : DevExpress.Docs.Presentation
Assembly : DevExpress.Docs.Presentation.v25.2.dll
NuGet Package : DevExpress.Docs.Presentation
public NormalViewRestoredProperties RestoredLeft { get; set; }
Public Property RestoredLeft As NormalViewRestoredProperties
| Type | Default | Description |
|---|---|---|
| NormalViewRestoredProperties | NormalViewRestoredProperties.Default |
The size of the side content region.
|
The following code snippet collapses the side content region (sets its Size to 0.0) and disables its size autoadjustment:
using (Presentation presentation = new Presentation("document.pptx")) {
NormalViewRestoredProperties viewProps = new NormalViewRestoredProperties(0.0, false);
presentation.ViewProperties.NormalViewProperties.RestoredLeft = viewProps;
}
Using presentation As New Presentation("document.pptx")
Dim viewProps As New NormalViewRestoredProperties(0.0, False)
presentation.ViewProperties.NormalViewProperties.RestoredLeft = viewProps
End Using
The following code snippet extends the side content region (sets its Size to 100.0) and enables its size autoadjustment:
using (Presentation presentation = new Presentation("document.pptx")) {
NormalViewRestoredProperties viewProps = new NormalViewRestoredProperties(100.0, true);
presentation.ViewProperties.NormalViewProperties.RestoredLeft = viewProps;
}
Using presentation As New Presentation("document.pptx")
Dim viewProps As New NormalViewRestoredProperties(100.0, True)
presentation.ViewProperties.NormalViewProperties.RestoredLeft = viewProps
End Using
See Also