VintaSoft Imaging .NET SDK 14.0: Documentation for .NET developer
Vintasoft.Imaging.Pdf.JavaScriptApi Namespace / PdfJsField Class / buttonSetCaption(String,Int32) Method
Syntax Requirements SeeAlso
In This Topic
    buttonSetCaption(String,Int32) Method (PdfJsField)
    In This Topic
    Sets the caption associated with a button.
    Syntax
    'Declaration
    
    Public Sub buttonSetCaption( _
    ByVal cCaption
    The caption associated with a button.
    As System.String, _
    ByVal nFace
    (optional) The caption type: 0 - (default) normal caption, 1 - down caption, 2 - rollover caption.
    As System.Int32 _
    )
    public void buttonSetCaption(
    System.String cCaption,
    System.Int32 nFace
    )
    public: void buttonSetCaption(
    System.String cCaption,
    System.Int32 nFace
    )
    public:
    void buttonSetCaption(
    System.String cCaption,
    System.Int32 nFace
    )

    Parameters

    cCaption
    The caption associated with a button.
    nFace
    (optional) The caption type: 0 - (default) normal caption, 1 - down caption, 2 - rollover caption.
    Requirements

    Target Platforms: .NET9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also