SetVisible

function SetVisible(value: boolean = null): boolean

Description

Sets the visibility to the current presentation slide.

Parameters

valuebooleandefault: null

Slide visibility.

Returns

boolean

Try It

var oPresentation = Api.GetPresentation();
var oSlide = Api.CreateSlide();
oSlide.SetVisible(false);
oPresentation.AddSlide(oSlide);

Get Help

  • If you have any questions about ONLYOFFICE Docs, try the FAQ section first.
  • You can request a feature or report a bug by posting an issue on GitHub.
  • You can also ask our developers on ONLYOFFICE forum (registration required).