Back to Devexpress

NormalViewProperties.RestoredLeft Property

officefileapi-devexpress-dot-docs-dot-presentation-dot-normalviewproperties.md

latest3.2 KB
Original Source

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.2.dll

NuGet Package : DevExpress.Docs.Presentation

Declaration

csharp
public NormalViewRestoredProperties RestoredLeft { get; set; }
vb
Public Property RestoredLeft As NormalViewRestoredProperties

Property Value

TypeDefaultDescription
NormalViewRestoredPropertiesNormalViewRestoredProperties.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:

csharp
using (Presentation presentation = new Presentation("document.pptx")) {
    NormalViewRestoredProperties viewProps = new NormalViewRestoredProperties(0.0, false);
    presentation.ViewProperties.NormalViewProperties.RestoredLeft = viewProps;
}
vb
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:

csharp
using (Presentation presentation = new Presentation("document.pptx")) {
    NormalViewRestoredProperties viewProps = new NormalViewRestoredProperties(100.0, true);
    presentation.ViewProperties.NormalViewProperties.RestoredLeft = viewProps;
}
vb
Using presentation As New Presentation("document.pptx")
    Dim viewProps As New NormalViewRestoredProperties(100.0, True)
    presentation.ViewProperties.NormalViewProperties.RestoredLeft = viewProps
End Using

See Also

NormalViewProperties Class

NormalViewProperties Members

DevExpress.Docs.Presentation Namespace