Creates a Label object and adds it to the given page at the coordinates of the form field.
Public Function CreateLabel( _
ByVal Page As Variant, _
ByVal Text As String, _
ByVal Font As DPDF_Font, _
ByVal FontSize As Single, _
Optional ByVal Align As DPDF_TextAlign = 1, _
Optional ByVal XOffset As Single = 0, _
Optional ByVal YOffset As Single = 0 _
) As Label| 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) |
| 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) |
A Label object
© Copyright 2007, ceTe Software