ContentMediaView.GetAttachmentItemUrl Method |
Returns URL for the attachment specified by arguments.
Namespace: CMS.UIControlsAssembly: CMS.UIControls (in CMS.UIControls.dll) Version: 9.0.0
Syntaxpublic string GetAttachmentItemUrl(
Guid attachmentGuid,
string attachmentName,
string attachmentNodeAlias,
int height,
int width,
int maxSideSize
)
Parameters
- attachmentGuid
- Type: System.Guid
GUID of the attachment - attachmentName
- Type: System.String
Name of the attachment - attachmentNodeAlias
- Type: System.String
Attachment node alias - height
- Type: System.Int32
Height of the attachment - width
- Type: System.Int32
Width of the attachment - maxSideSize
- Type: System.Int32
Maximum size of the item if attachment is image
Return Value
Type:
String
See Also