Skip to main content
A newer version of this page is available.

ISnapFieldOwner.CreateSnImage(DocumentPosition, String) Method

Adds a Picture to the specified position in a document.

Namespace: DevExpress.Snap.Core.API

Assembly: DevExpress.Snap.v18.2.Core.dll

Declaration

SnapImage CreateSnImage(
    DocumentPosition position,
    string dataFieldName
)

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 SnapImage.

Returns

Type Description
SnapImage

An object implementing the SnapImage interface.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the CreateSnImage(DocumentPosition, String) method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also