Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Measures current dialog content before its window is opened. The returned geometry must be used with the same presentation.

API: engine
Project: Inno.Editor.ImGui

public Inno.Editor.ImGui.ImGuiWidget.DialogLayout Inno.Editor.ImGui.ImGuiWidget.ImGuiWidget.MeasureDialog(Inno.Editor.ImGui.ImGuiWidget.DialogPresentation presentation, System.Numerics.Vector2 availableSize)

Parameter presentation: The immutable content captured for this frame.

Parameter availableSize: The bounded content area in already scaled presentation coordinates.

The bounded current-frame layout, including a single scrolling body when required.

Exception T:System.ArgumentNullException: The message is null.

Exception T:System.ArgumentException: The message, expanded details or action label contain an embedded zero code unit.

Exception T:System.Text.EncoderFallbackException: The message, expanded details or action label contain invalid Unicode.

Exception T:System.ArgumentOutOfRangeException: The available dimensions are not finite and positive, or a determinate progress fraction is outside zero through one.

Exception T:System.InvalidOperationException: The owning frame, context or thread is not active.

Exception T:System.ObjectDisposedException: The owning UI session has retired.