Click or drag to resize
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.Personas
Assembly: CMS.Personas (in CMS.Personas.dll) Version: 9.0.0
Syntax
C#
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: String
Url of the default persona picture

Implements

IPersonaPictureUrlCreatorCreateDefaultPersonaPictureUrl(Int32)
Exceptions
ExceptionCondition
ArgumentExceptionimageSideSizeInPx is lower than 1
See Also