Add a TextArea object to the Page and returns a new TextArea object.
Public Function AddTextArea( _
ByVal Text As String, _
ByVal X As Single, _
ByVal Y As Single, _
ByVal Width As Single, _
ByVal Height As Single, _
Optional ByVal Align As DPDF_TextAlign = 1, _
Optional ByVal Font As DPDF_Font = 1, _
Optional ByVal FontSize As Single = -1, _
Optional ByVal TextColor As Variant _
) As TextArea| Value | Description |
|---|---|
| DPDF_TextAlign_Left | Align left. (Value = 1) |
| DPDF_TextAlign_Center | Align center. (Value = 2) |
| DPDF_TextAlign_Right | Align right. (Value = 3) |
| DPDF_TextAlign_Justify | Align justify. (Value = 4) |
| DPDF_TextAlign_FullJustify | Align justify including last line. (Value = 5) |
| Value | Description |
|---|---|
| DPDF_Font_UseDefault | The Document's default font is used. (Value = 1) |
| DPDF_Font_Courier | Courier Font (Value = 3) |
| DPDF_Font_CourierBold | Courier-Bold Font (Value = 4) |
| DPDF_Font_CourierOblique | Courier-Oblique Font (Value = 5) |
| DPDF_Font_CourierBoldOblique | Courier-BoldOblique Font (Value = 6) |
| DPDF_Font_Helvetica | Helvetica Font (Value = 7) |
| DPDF_Font_HelveticaBold | Helvetica-Bold Font (Value = 8) |
| DPDF_Font_HelveticaOblique | Helvetica-Oblique Font (Value = 9) |
| DPDF_Font_HelveticaBoldOblique | Helvetica-BoldOblique Font (Value = 10) |
| DPDF_Font_TimesRoman | Times-Roman Font (Value = 11) |
| DPDF_Font_TimesBold | Times-Bold Font (Value = 12) |
| DPDF_Font_TimesItalic | Times-Italic Font (Value = 13) |
| DPDF_Font_TimesBoldItalic | Times-BoldItalic Font (Value = 14) |
| DPDF_Font_Symbol | Symbol Font (Value = 15) |
| DPDF_Font_ZapfDingbats | ZapfDingbats Font (Value = 16) |
| DPDF_Font_HeiseiKakuGothicW5 | Heisei Kaku Gothic W5 Japanese font (Value = 17) |
| DPDF_Font_HeiseiMinchoW3 | Heisei Mincho W3 Japanese font (Value = 18) |
| DPDF_Font_HanyangSystemsGothicMedium | Hanyang Systems Gothic Medium Korean font (Value = 19) |
| DPDF_Font_HanyangSystemsShinMyeongJoMedium | Hanyang Systems Shin MyeongJo Medium Korean font (Value = 20) |
| DPDF_Font_SinoTypeSongLight | SinoType Song Light Chinese (simplified) font (Value = 21) |
| DPDF_Font_MonotypeHeiMedium | Monotype Hei Medium Chinese (traditional) font (Value = 22) |
| DPDF_Font_MonotypeSungLight | Monotype Sung Light Chinese (traditional) font (Value = 23) |
A TextArea object.
[ASP - VBScript]
<!-- METADATA TYPE="typelib" UUID="{DF9225FE-94A4-490D-8CAD-E8366CE621D3}"--> |
© Copyright 2007, ceTe Software