ModelFactoryGenerateImageReference Method
Generates an image reference, usually because of an image derived from the Azure Blob Storage or because the user uploaded an image.
Namespace: MobileTrack.Common.ExtensionsAssembly: MobileTrack.Common (in MobileTrack.Common.dll) Version: 0.8+34f1bbd8dc6b32752cfce829cbed66e15113d7ba
public static ImageReference GenerateImageReference(
string? imagePath,
Point size
)
- imagePath String
- Oath of the image (optional)
- size Point
- Size of the image (optional, one can use Empty to have the size be based on the dimensions of the image itself)
ImageReferenceGenerated image reference