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.7+ce90b2cf6b782b8d7b7fd47b3c546987c652c00f
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