MobileSharingPanel.SharePicture

From Xojo Documentation

Method

MobileSharingPanel.SharePicture(pic As Picture, parentScreen As MobileScreen = Nil, parentControl As MobileUIControl = Nil)

Supported on Mobile.

Displays the sharing panel to the user, allowing them to share the passed picture.

Parameters

Value Description
pic The picture to share using the sharing panel. Cannot be Nil.
parentScreen The parent screen for the sharing panel. Cannot be Nil.
parentControl The parent control from which a popover appears when the sharing panel is displayed on an iPad. Cannot be Nil.

Notes

A NilObjectException is raised if pic is Nil.

Sample Code

Share a picture:

MySharingPanel.SharePicture(myPic, Self, Me)