Sometimes you need to access one individual values of stylevars, but you have to know the right variable name to use. Examples of use are math calculations or just using the fontsize of a font. This is a followup on my list of the StyleVar Data Types
Here is a list for each of the interesting StyleVar Data Type. The background one isn't complete, but I will update if i find the missing variables. Feel free to PM me if you know!
Simple Types
Most simple types just have one value, and the only one that is divided into two values is Size.
Size
{vb:stylevar your_size.units}
{vb:stylevar your_size.size}
Complex Types
Almost all of the complex types have several values so here this becomes a handy thing.
Background
Background Color: {vb:stylevar your_background.backgroundColor}
Background Image: {vb:stylevar your_background.backgroundImage}
Background Repeat: {vb:stylevar your_background.backgroundRepeat}
Units: {vb:stylevar your_background.} (not the regular ".units")
Horizontal Offset: {vb:stylevar your_background.} (tried various versions containing offset, X or horizontal, but haven't found the right value)
Vertical Offset: {vb:stylevar your_background.} (tried various versions containing offset, Y or vertical, but haven't found the right value)
Font
Font Family: {vb:stylevar your_font.fontFamily}
Units: {vb:stylevar your_font.units
Font Size: {vb:stylevar your_font.fontSize}
Font Weight: {vb:stylevar your_font.fontWeight}
Font Style: {vb:stylevar your_font.fontStyle}
Font Variant: {vb:stylevar your_font.fontVariant}
Border
Units: {vb:stylevar your_border.units}
Width: {vb:stylevar your_border.borderWidth}
Style: {vb:stylevar your_border.borderStyle}
Color: {vb:stylevar your_border.borderColor}
Padding
Units: {vb:stylevar your_padding.units}
Top: {vb:stylevar your_padding.paddingTop}
Right: {vb:stylevar your_padding.paddingRight}
Bottom: {vb:stylevar your_padding.paddingBottom}
Left: {vb:stylevar your_padding.paddingLeft}
Margin
The same as Padding, only replace padding with margin.
Here is a list for each of the interesting StyleVar Data Type. The background one isn't complete, but I will update if i find the missing variables. Feel free to PM me if you know!

Simple Types
Most simple types just have one value, and the only one that is divided into two values is Size.
Size
{vb:stylevar your_size.units}
{vb:stylevar your_size.size}
Complex Types
Almost all of the complex types have several values so here this becomes a handy thing.
Background
Background Color: {vb:stylevar your_background.backgroundColor}
Background Image: {vb:stylevar your_background.backgroundImage}
Background Repeat: {vb:stylevar your_background.backgroundRepeat}
Units: {vb:stylevar your_background.} (not the regular ".units")
Horizontal Offset: {vb:stylevar your_background.} (tried various versions containing offset, X or horizontal, but haven't found the right value)
Vertical Offset: {vb:stylevar your_background.} (tried various versions containing offset, Y or vertical, but haven't found the right value)
Font
Font Family: {vb:stylevar your_font.fontFamily}
Units: {vb:stylevar your_font.units
Font Size: {vb:stylevar your_font.fontSize}
Font Weight: {vb:stylevar your_font.fontWeight}
Font Style: {vb:stylevar your_font.fontStyle}
Font Variant: {vb:stylevar your_font.fontVariant}
Border
Units: {vb:stylevar your_border.units}
Width: {vb:stylevar your_border.borderWidth}
Style: {vb:stylevar your_border.borderStyle}
Color: {vb:stylevar your_border.borderColor}
Padding
Units: {vb:stylevar your_padding.units}
Top: {vb:stylevar your_padding.paddingTop}
Right: {vb:stylevar your_padding.paddingRight}
Bottom: {vb:stylevar your_padding.paddingBottom}
Left: {vb:stylevar your_padding.paddingLeft}
Margin
The same as Padding, only replace padding with margin.
Comment