Generates img tag which displays persona picture with a specified size.
Namespace: CMS.PersonasAssembly: CMS.Personas (in CMS.Personas.dll) Version: 8.0.0.0 (8.1.5347.20411)
Parameters
- persona
- Type: CMS.Personas PersonaInfo
This persona's picture will be displayed
- imageSideSizeInPx
- Type: System Int32
Size of the picture
Return Value
Type: StringHTML which displays persona picture
Exceptions
Exception | Condition |
---|---|
System ArgumentNullException | persona is null |
System ArgumentException | imageSideSizeInPx isn't greater than zero |
See Also