Skip to content
API referenceDevelopmentEditor scriptingEngine ccf7d03f
Synced
  • Adds or replaces one human-readable editor layout section in memory.

API: scripting
Project: Inno.Editor.Core
Scope: Editor

public void InnoEditor.Core.EditorContext.SetLayoutSection(string sectionName, System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string, string>> values)

Parameter sectionName: The section name without its INI header syntax.

Parameter values: The complete scalar or JSON-formatted values.

Exception T:System.ArgumentNullException: Thrown when values is null.

Exception T:System.ArgumentException: Thrown when a section name, key, or value cannot be represented in the layout.