Click or drag to resize
ContentMediaViewGetMetaFileItemUrl Method
Returns URL for the metafile specified by arguments.

Namespace: CMS.UIControls
Assembly: CMS.UIControls (in CMS.UIControls.dll) Version: 9.0.0
Syntax
C#
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: String
See Also