Description
Adds a Code 2 of 5 bar code object to the TransformationGroup object and returns a New Code25 object.
Syntax
Public Function AddCode25( _
ByVal CodeValue As String, _
ByVal X As Single, _
ByVal Y As Single, _
ByVal Height As Single, _
Optional ByVal Font As DPDF_Font = 7, _
Optional ByVal FontSize As Single = -1 _
) As Code25Parameters
- CodeValue
- The value stored in the bar code.
- X
- The X Coordinate of the Code 2 of 5 bar code.
- Y
- The Y Coordinate of the Code 2 of 5 bar code.
- Height
- Height of the Code 2 of 5 bar code.
- Font
or the new added font using AddFont method or AddType1Font method.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) - FontSize
- Optional. The font size of the Code 2 of 5 text. Default is -1. The DefaultFontSize of the Document object is taken if font size is not specified.
Return Type
A Code25 object.
Example
[ASP - VBScript]
<% |

