CreateAttribute Method of XmlTicket Object (COM-based API)

This method creates a new DocumentAttribute object of specified type.

Visual Basic Syntax

Method CreateAttribute(
   Type As AttributeTypeEnum,
   Name As String,
   Value As String
) As DocumentAttribute

C++ Syntax

HRESULT CreateAttribute(
    AttributeTypeEnum Type,
    BSTR Name,
    BSTR Value,
    IDocumentAttribute** Result
);

Parameters

Type

[in] This variable specifies the type of the document attribute. See the AttributeTypeEnum description for the supported file formats.

Name

[in] This parameter contains the attribute name.

Value

[in] This parameter contains the value of the attribute.

Result

[out] A pointer to an IDocumentAttribute* pointer variable that receives the interface pointer of the DocumentAttribute object.

Return Values

This method returns an DocumentAttribute object.

See also

XmlTicket.

See sample: Samples.

26.03.2024 13:49:49

Please leave your feedback about this article

Usage of Cookies. In order to optimize the website functionality and improve your online experience ABBYY uses cookies. You agree to the usage of cookies when you continue using this site. Further details can be found in our Privacy Notice.