AVOLITES TITAN API

SetGroupSizeToResolution

Sets the size of the group.

Namespace: Group

Syntax

MACRO

Void Group.SetGroupSizeToResolution(GroupHandle group, Size resolution, Boolean maintainAspectRatio, Int32 overrideWidth, Int32 overrideHeight)

HTTP

http://[ip]:4430/titan/script/2/Group/SetGroupSizeToResolution?group={}&resolution={}&maintainAspectRatio={bool}&overrideWidth={titanId}&overrideHeight={titanId}

Parameters

group ( GroupHandle ) : The group.

resolution ( Size ) : The resolution to match.

maintainAspectRatio ( Boolean ) : True to maintain the aspect ratio of the source resolution; otherwise false.

maintainAspectRatio

HTTP Example:
http://localhost:4430/titan/script/2/Group/SetGroupSizeToResolution?group={}&resolution={}&maintainAspectRatio=true&overrideWidth={titanId}&overrideHeight={titanId}

overrideWidth ( Int32 ) : The width to use for the new group size. 0 to not override.

overrideHeight ( Int32 ) : The height to use for the new group size. 0 to not override.