Создать текстовый фрейм
function AddTextFrame(FrameName, aText: string;
aLeft,aTop,aRight,aBottom: integer; aFrameParentID: integer;
aFrameAlignType: TFrameAlignType; aflFrameRectVisible: boolean;
aFrameRectType: Byte; aFontName: string; aFontSize: double;
aFontColor: integer;
aflFontItalic,aflFontUnderline,aflFontStrikeOut,aFontWeight: integer;
aTextFormat: LongInt; aflTextCenterY: Boolean; aTag: integer = 0): integer;
FrameName
aText
aLeft
aTop
aRight
aBottom
aFrameParentID
aFrameAlignType
aflFrameRectVisible
aFrameRectType
aFontName
aFontSize
aFontColor
aflFontItalic
aflFontUnderline
aflFontStrikeOut
aFontWeight
aTextFormat
aflTextCenterY
aTag
идентификатор фрейма печатного документа
DT_LEFT - выравнивает текст слева, DT_RIGHT - выравнивает текст справа)