Click or drag to resize
ForumAttachmentInfo Constructor (HttpPostedFile, Int32, Int32, Int32)
Constructor - Creates a new ForumAttachment object based on the file posted through the upload control.

Namespace: CMS.Forums
Assembly: CMS.Forums (in CMS.Forums.dll) Version: 11.0.0
Syntax
C#
public ForumAttachmentInfo(
	HttpPostedFile postedFile,
	int maxWidth,
	int maxHeight,
	int maxSideSize
)

Parameters

postedFile
Type: System.WebHttpPostedFile
Posted file
maxWidth
Type: SystemInt32
Maximal image width
maxHeight
Type: SystemInt32
Maximal image height
maxSideSize
Type: SystemInt32
Maximal side size
See Also