Skip to main content
You are viewing help content for a version that is no longer maintained/updated.
All docs
V21.2
  • ISnapFieldOwner.CreateSnImage(DocumentPosition, String) Method

    Adds a Picture to the specified position in a document.

    Namespace: DevExpress.Snap.Core.API

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

    NuGet Package: DevExpress.Snap.Core

    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