NormalViewProperties.RestoredLeft Property
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.1.dll
NuGet Package: DevExpress.Docs.Presentation
Declaration
Property Value
Type | Default | Description |
---|---|---|
NormalViewRestoredProperties | NormalViewRestoredProperties.Default | The size of the side content region. |
Remarks
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;
}
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;
}
See Also