ISnapFieldOwner.CreateSnText(DocumentPosition, String) Method

Adds a text box to the specified position in a document.

Namespace: DevExpress.Snap.Core.API

Assembly: DevExpress.Snap.v20.1.Core.dll

Declaration

SnapText CreateSnText(
    DocumentPosition position,
    string dataFieldName
)
Function CreateSnText(
    position As DocumentPosition,
    dataFieldName As String
) As SnapText

Parameters

Name Type Description
position DocumentPosition

A DocumentPosition object.

dataFieldName String

A String value, specifying the name of a data field bound to the created SnapText.

Returns

Type Description
SnapText

An object implementing the SnapText interface.

See Also