ContentMediaViewGetMetaFileItemUrl Method |
Returns URL for the metafile specified by arguments.
Namespace: CMS.UIControlsAssembly: CMS.UIControls (in CMS.UIControls.dll) Version: 12.0.0
Syntax public string GetMetaFileItemUrl(
Guid attachmentGuid,
string attachmentName,
int height,
int width,
int maxSideSize
)
Parameters
- attachmentGuid
- Type: SystemGuid
GUID of the metafile - attachmentName
- Type: SystemString
Name of the metafile - height
- Type: SystemInt32
Height parameter that should be added to the URL - width
- Type: SystemInt32
Width parameter that should be added to the URL - maxSideSize
- Type: SystemInt32
Maximum size of the item if metafile is image
Return Value
Type:
StringSee Also