# Dialog Relative Anchor
Grammar — Relative anchor of dialog
Flags —Native
|Function
Returns the relative anchor for the specified dialog. Relative anchor for dialogs is only used by the*“Move Dialog (Relative)”* action.
# Arguments
int
<dialog> — Dialog
Returns — int
<preset::Anchor>
native int DialogGetRelativeAnchor(int dialog);
# Related
Category: Dialog / Dialog Size And Position
- Set Dialog Size —
void
— DialogSetSize - Move Dialog —
void
— DialogSetPosition - Attach Dialog To Dialog —
void
— DialogSetPositionRelative - Attach Dialog To Unit —
void
— DialogSetPositionRelativeToUnit - Anchor Dialog To Unit —
void
— DialogSetPositionRelativeToUnitWithAnchor - Set Dialog Fullscreen —
void
— DialogSetFullscreen - Dialog Width —
int
— DialogGetWidth - Dialog Height —
int
— DialogGetHeight - Dialog Offset X —
int
— DialogGetOffsetX - Dialog Offset Y —
int
— DialogGetOffsetY - Dialog Anchor —
int
<preset::Anchor> — DialogGetAnchor - Dialog Relative Anchor —
int
<preset::Anchor> — DialogGetRelativeAnchor - Relative Dialog —
int
<dialog> — DialogGetRelativeDialog - Dialog Is Fullscreen —
bool
— DialogIsFullscreen
# Examples
— None found —