AttachmentURLProviderGetFilePhysicalUrl Method |
Gets the URL to the physical file.
Namespace: CMS.DocumentEngineAssembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 13.0.131
Syntax public static string GetFilePhysicalUrl(
string siteName,
string guid,
string extension = null,
int width = 0,
int height = 0
)
Parameters
- siteName
- Type: SystemString
File site name. - guid
- Type: SystemString
Attachment GUID. - extension (Optional)
- Type: SystemString
File extension. - width (Optional)
- Type: SystemInt32
Image width in pixels. - height (Optional)
- Type: SystemInt32
Image height in pixels.
Return Value
Type:
StringSee Also