Table of Contents

OIL2 Class Standard.DrawingText


class Standard . DrawingText {
        int32   fieldIsEditable;
        string  fontName;
        int32   fontSize;
        int32   justification;
        string  textToWrite;
        int32   useBold;
        int32   useItalic;
inherits from DrawingShape;

DESCRIPTION

The DrawingText class is a specialization of DrawingShape that handles text displayed using fonts.

METHODS


Standard.DrawingText:create

DrawingText:create()

Method Description

See initialize.


Standard.DrawingText:initialize

DrawingText:initialize(string text, optional int32 x, optional int32 y, optional string fontFamilyName, optional int32 pointSize, optional int32 justify)

Method Description


Standard.DrawingText:useBoldFont

DrawingText:useBoldFont(int32 flag)

Method Description


Standard.DrawingText:useItalicFont

DrawingText:useItalicFont(int32 flag)

Method Description


Standard.DrawingText:setPointSize

DrawingText:setPointSize(int32 pointSize)

Method Description


Standard.DrawingText:setEditable

DrawingText:setEditable(int32 flag)

Method Description


Standard.DrawingText:setFontInfo

DrawingText:setFontInfo(string fontFamily, optional int32 pointSize)

Method Description


Standard.DrawingText:getFontInfo

DrawingText:getFontInfo()

Method Description


Standard.DrawingText:getText

DrawingText:getText()

Method Description