Discuss this help topic in SecureBlackbox Forum

TElPDFSignatureWidgetTextList.Add

TElPDFSignatureWidgetTextList     See also     


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


Adds an item to the list.

Declaration

[C#/Java]
    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;
    function Add(const Text: string; X, Y, FontSizeX, FontSizeY: Double): Integer;
    function Add(ATextData: TElPDFSignatureWidgetText): Integer;
    function Add: Integer;

[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()

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