Technical Reference > Graphics Builder Automation Interface > Text Property Functions

Text Property Functions

These functions allow you to read and modify the properties of the text objects in your project.

AttributeText

Sets the text for a text object, or retrieves the current text.

AttributeTextColour

Applies a color to the selected text, or retrieves the current font color setting.

AttributeTextOffColourEx

Applies the "off" color to the selected text, or retrieves the current font color setting.

AttributeTextOnColourEx

Applies the "on" color to the selected text, or retrieves the current font color setting.

AttributeTextFont

Applies a specific font to the selected text, or retrieves the font setting.

AttributeTextFontSize

Applies a font size to the selected text, or retrieves the current font size.

AttributeTextJustification

Applies a specific justification setting to selected text, or retrieves the current text justification value.

AttributeTextStyle

Sets a specific text style, or retrieves the current text style setting.

The following object functions are also valid for text objects:

Attribute3dEffects

Applies a 3D effect to an object, or retrieves the current 3D effect setting.

Attribute3dEffectDepth

Applies a level of depth to a 3D effect, or retrieves the current depth setting.

AttributeHiLightColour

Sets the highlight color applied to the 3D effects raised, lowered or embossed, or retrieves the current highlight color setting.

AttributeLoLightColour

Sets the lowlight color applied to the 3D effects raised, lowered or embossed, or retrieves the current lowlight color setting.

AttributeShadowColour

Sets the shadow color when a shadowed 3D effect is used, or retrieves the current shadow color setting.

For details and a VB example on handling return and error values, see Error Handling.