InitFormatSchemeFrom()

OverrideTheme::InitFormatSchemeFrom(System::SharedPtr<IFormatScheme>) method

Init FormatScheme with new object for overriding FormatScheme of InheritedTheme.

void Aspose::Slides::Theme::OverrideTheme::InitFormatSchemeFrom(System::SharedPtr<IFormatScheme> formatScheme) override

Arguments

ParameterTypeDescription
formatSchemeSystem::SharedPtr<IFormatScheme>Data to initialize from.

Exceptions

ExceptionDescription
System::InvalidOperationExceptionThrown if the FormatScheme is already initialized (not null).
System::ArgumentNullExceptionThrown if the formatScheme parameter is null.

See Also