Пример #1
0
    public void GetImageCrop()
    {
        string folderPath = utilsPlugin.CreateRootFolder(".SecretContainerImage");

        if (!folderPath.Equals("", StringComparison.Ordinal))
        {
            imagePickerPlugin.GetImageCrop(folderPath + "/croppyImage.jpg", 180, 180);
            EnableDisableShareButton(false);
        }
    }
Пример #2
0
    public void GetImage()
    {
        string folderPath = utilsPlugin.CreateRootFolder("AUPCropImage");
        string imageID    = TimeHelper.GetMilliSecondSinceEpoch().ToString();

        if (!folderPath.Equals("", StringComparison.Ordinal))
        {
            imagePickerPlugin.GetImageCrop(folderPath + "/" + imageID + ".jpg", 180, 180);
        }
    }