Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Requests a bounded zoom without changing metrics partway through an owned native frame.

API: engine
Project: Inno.Editor.ImGui

public bool Inno.Editor.ImGui.EditorStyleMetrics.SetZoom(float value)

Parameter value: The requested UI zoom multiplier.

true when the requested zoom changed; owned drawing applies it at the next frame preparation.

Exception T:System.ArgumentOutOfRangeException: Thrown when value is not finite.

Exception T:System.ObjectDisposedException: The owning session has retired or is no longer available.

Exception T:System.InvalidOperationException: The caller is not the owning session’s thread.