|
没有,应该不支持,不过你可以试试。介绍如下:
axlDBTextBlockCreate
axlDBTextBlockCreate(
x_blockTemplate
?width f_width
?height f_height
?lineSpace f_lineSpace
?charSpace f_charSpace
?photoWidth f_photoWidth
) => x_textBlock/nil
Description
Creates a new text block block from the template block number provided. By providing
optional textblock charactistics, you can get available text blocks by:
lst = axlGetParam("paramTextBlock")
Arguments
x_blockTemplate
f_XXX values
Value Returned
■ x_textBlock – new text block
■ nil – Returned if the command fails. Typically, this happens when you have exhausted
the number block Allegro provides, or one of the parameters is not of the correct data
type.
See Also
axlGetParam, axlSetParam, axlDBTextBlockCompact
Examples
Create a new text block based upon text block 1 but change width and height
blockNum = axlDBTextBlockCreate(1 ?width 15.0 ?height 16.0) |
|