Interface IFooterOptions
- Namespace
- PnP.Core.Model.SharePoint
- Assembly
- PnP.Core.dll
Options to configure a the site footer chrome.
public interface IFooterOptions
Properties
DisplayName
The footer display name
string DisplayName { get; set; }
Property Value
Emphasis
Gets or sets the value of the footer emphasis.
FooterVariantThemeType Emphasis { get; set; }
Property Value
Enabled
Gets or sets a value that specifies whether the footer is enabled on the site.
bool Enabled { get; set; }
Property Value
Layout
Gets or sets the value of the footer layout.
FooterLayoutType Layout { get; set; }
Property Value
Methods
ClearLogo()
Clears the footer logo
void ClearLogo()
ClearLogoAsync()
Clears the footer logo
Task ClearLogoAsync()
Returns
SetLogo(string, Stream, bool)
Sets the footer's logo to the provided image.
void SetLogo(string fileName, Stream content, bool overwrite = false)
Parameters
fileNamestringName of your image file
contentStreamThe contents of the file
overwriteboolIndicates whether the file should be overwritten if already existing.
SetLogoAsync(string, Stream, bool)
Sets the footer's logo to the provided image.
Task SetLogoAsync(string fileName, Stream content, bool overwrite = false)
Parameters
fileNamestringName of your image file
contentStreamThe contents of the file
overwriteboolIndicates whether the file should be overwritten if already existing.