ContentMediaViewGetAttachmentItemUrl Method |
Returns URL for the attachment specified by arguments.
Namespace: CMS.UIControlsAssembly: CMS.UIControls (in CMS.UIControls.dll) Version: 10.0.0
Syntax public string GetAttachmentItemUrl(
Guid attachmentGuid,
string attachmentName,
string attachmentNodeAlias,
int height,
int width,
int maxSideSize
)
Parameters
- attachmentGuid
- Type: SystemGuid
GUID of the attachment - attachmentName
- Type: SystemString
Name of the attachment - attachmentNodeAlias
- Type: SystemString
Attachment node alias - 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