# Set Maximum Size Of Text Tag
Grammar — Set the maximum size of textTag to width width and height height (in percent of screen size)
Flags —Native
|Action
Sets the maximum size of the specified text tag.
# Arguments
int
[ preset::TextTag ] — Text Tagfixed
— Widthfixed
— Height
Returns — void
native void TextTagSetMaxSize(
int inTag,
fixed inWidth,
fixed inHeight,
);
# Related
Category: Text Tag / Formatting
- [F] —
void
— Set Alignment Of Text Tag — ( TextTagSetAlignment ) - [F] —
void
— Set Text Alignment Of Text Tag — ( TextTagSetTextAlignment ) - [F] —
void
— Set Background Border Size Of Text Tag — ( TextTagSetBackgroundBorderSize ) - [F] —
void
— Set Background Image Of Text Tag — ( TextTagSetBackgroundImage ) - [F] —
void
— Set Background Offset Of Text Tag — ( TextTagSetBackgroundOffset ) - [F] —
void
— Set Edge Image Of Text Tag — ( TextTagSetEdgeImage ) - [F] —
void
— Set Color Of Text Tag — ( TextTagSetColor ) - [F] —
void
— Set Enforce Fog Of War Of Text Tag — ( TextTagFogofWar ) - [F] —
void
— Set Visibility Type Of Text Tag — ( TextTagSetFogVisibility ) - [F] —
void
— Set Faded Transparency Of Text Tag — ( TextTagSetFadedTransparency ) - [F] —
void
— Set Font Size Of Text Tag — ( TextTagSetFontSize ) - [F] —
void
— Set Maximum Size Of Text Tag — ( TextTagSetMaxSize ) - [F] —
void
— Show/Hide Background For Text Tag — ( TextTagShowBackground ) - [F] —
void
— Show/Hide Text Shadow For Text Tag — ( TextTagSetTextShadow )
# Examples
# campaigns/liberty.sc2campaign
// L2879
TextTagSetMaxSize(TextTagLastCreated(), 17.0, 400.0)
// L2885
TextTagSetMaxSize(TextTagLastCreated(), 19.0, 400.0)
// L2879
TextTagSetMaxSize(TextTagLastCreated(), 17.0, 400.0)
// L2885
TextTagSetMaxSize(TextTagLastCreated(), 19.0, 400.0)
# campaigns/libertystory.sc2campaign
// L1558
TextTagSetMaxSize(libCamp_gv__CB_Current_ChatBubble[lp_playerIndex], 25.0, 40.0)
// L11895
TextTagSetMaxSize(lv_p_TextTag, 25.0, 40.0)
# mods/novastoryassets.sc2mod
// L2861
TextTagSetMaxSize(TextTagLastCreated(), 100.0, 2.0)
// L2881
TextTagSetMaxSize(TextTagLastCreated(), 100.0, 2.0)
// L2901
TextTagSetMaxSize(TextTagLastCreated(), 100.0, 2.0)
// L2921
TextTagSetMaxSize(TextTagLastCreated(), 100.0, 2.0)
// L2941
TextTagSetMaxSize(TextTagLastCreated(), 100.0, 2.0)
// L2861
TextTagSetMaxSize(TextTagLastCreated(), 100.0, 2.0)
// L2881
TextTagSetMaxSize(TextTagLastCreated(), 100.0, 2.0)
// L2901
TextTagSetMaxSize(TextTagLastCreated(), 100.0, 2.0)
// L2921
TextTagSetMaxSize(TextTagLastCreated(), 100.0, 2.0)
// L2941
TextTagSetMaxSize(TextTagLastCreated(), 100.0, 2.0)