ContentMediaViewGetAttachmentItemUrl Method |
Returns URL for the attachment specified by arguments.
Namespace: CMS.UIControlsAssembly: CMS.UIControls (in CMS.UIControls.dll) Version: 13.0.131
Syntax public string GetAttachmentItemUrl(
Guid attachmentGuid,
string attachmentName,
int height,
int width,
int maxSideSize
)
Parameters
- attachmentGuid
- Type: SystemGuid
GUID of the attachment - attachmentName
- Type: SystemString
Name of the attachment - height
- Type: SystemInt32
Height of the attachment - width
- Type: SystemInt32
Width of the attachment - maxSideSize
- Type: SystemInt32
Maximum size of the item if attachment is image
Return Value
Type:
StringSee Also