AvatarInfoProviderUploadAvatar Method (AvatarInfo, IUploadedFile, Int32, Int32, Int32) |
Uploads and resizes (if needed) avatar to specified AvatarInfo and sets its properties.
Namespace: CMS.MembershipAssembly: CMS.Membership (in CMS.Membership.dll) Version: 13.0.131
Syntax public static void UploadAvatar(
AvatarInfo ai,
IUploadedFile uploadedFile,
int maxWidth,
int maxHeight,
int maxSideSize
)
Parameters
- ai
- Type: CMS.MembershipAvatarInfo
- uploadedFile
- Type: CMS.BaseIUploadedFile
- maxWidth
- Type: SystemInt32
- maxHeight
- Type: SystemInt32
- maxSideSize
- Type: SystemInt32
See Also