Discuss this help topic in SecureBlackbox Forum

TElPDFSignatureWidgetTextList.Add

TElPDFSignatureWidgetTextList     See also     


Filter: C#  VB.NET  Pascal  C++  PHP  Java  


Adds an item to the list.

Declaration

[C#]
    int Add(string Text, double X, double Y, double FontSize);
    int Add(string Text, double X, double Y, double FontSizeX, double FontSizeY);
    int Add(TElPDFSignatureWidgetText ATextData);
    int Add();

[VB.NET]
    Function Add(ByVal Text As String, ByVal X As Double, ByVal Y As Double, ByVal FontSize As Double) As Integer
    Function Add(ByVal Text As String, ByVal X As Double, ByVal Y As Double, ByVal FontSizeX As Double, ByVal FontSizeY As Double) As Integer
    Function Add(ByVal ATextData As TElPDFSignatureWidgetText) As Integer
    Function Add() As Integer

[Pascal]
    function Add(const Text : string; X, Y, FontSize : Double) : Integer; overload;
    function Add(const Text : string; X, Y, FontSizeX, FontSizeY : Double) : Integer; overload;
    function Add(ATextData : TElPDFSignatureWidgetText) : Integer; overload;
    function Add : Integer; overload;

[C++]
    int32_t Add(const std::string &Text, double X, double Y, double FontSize);
    int32_t Add(const std::string &Text, double X, double Y, double FontSizeX, double FontSizeY);
    int32_t Add(TElPDFSignatureWidgetText &ATextData);
    int32_t Add(TElPDFSignatureWidgetText *ATextData);
    int32_t Add();

[PHP]
    integer Add(string $Text, double $X, double $Y, double $FontSize)
    integer Add(string $Text, double $X, double $Y, double $FontSizeX, double $FontSizeY)
    integer Add(TElPDFSignatureWidgetText $ATextData)
    integer Add()

[Java]
    int add(String Text, double X, double Y, double FontSizeX, double FontSizeY);
    int add(String Text, double X, double Y, double FontSize);
    int add();
    int add(TElPDFSignatureWidgetText ATextData);

Parameters

  • Text - the text to be added.
  • X - horizontal offset of the displayed text.
  • Y - vertical offset of the displayed text.
  • FontSize - text's font size.
  • FontSizeX - horizontal font size.
  • FontSizeY - vertical font size.
  • ATextData - TElPDFSignatureWidgetText object to be added.

Return value

    On success, returns the index of the newly added item in the list. On failure, returns -1.

Description

    Call this method to add new text to the list.

See also:     TextData     Clear     Delete    

Discuss this help topic in SecureBlackbox Forum