PersonaPictureUrlCreatorCreateDefaultPersonaPictureUrl Method |
Gets URL of the the image which should be used when persona has no picture selected or when picture of contact belonging to no persona should be displayed.
Namespace: CMS.PersonasAssembly: CMS.Personas (in CMS.Personas.dll) Version: 13.0.131
Syntax public string CreateDefaultPersonaPictureUrl(
int imageSideSizeInPx
)
Parameters
- imageSideSizeInPx
- Type: SystemInt32
Maximum size of one side of the image. Persona pictures are usually squares
Return Value
Type:
StringUrl of the default persona picture
Implements
IPersonaPictureUrlCreatorCreateDefaultPersonaPictureUrl(Int32)Exceptions Exception | Condition |
---|
ArgumentException | imageSideSizeInPx is lower than 1 |
See Also