Share

TextGraphics.FontSize Property

Parent Object: TextGraphics

Description

Gets/sets the font size. The font size is defined in pixels for non-scalable text graphics objects. It is defined in model space units for scalable text graphics objects.

Syntax

TextGraphics.FontSize() As Double

Property Value

This is a read/write property whose value is a Double.

Samples

Name Description
Text Using Client Graphics (Simple) This sample demonstrates creating text using client graphics. It illustrates the simple case where the text is one font and is one line.
Text Using Client Graphics (Multiple fonts and lines) This sample demonstrates creating text using client graphics. It illustrates the more complex case of changes in font and more than one line.
Anchored Client Grahics This sample demonstrates the creation of client graphics that is fully anchored in a view.

Version

Introduced in version 6

Was this information helpful?