DocumentHelperAddUnsortedAttachment Method (TreeNode, Guid, HttpPostedFile, Int32, Int32, Int32) |
Note: This API is now obsolete.
Namespace: CMS.DocumentEngine
[ObsoleteAttribute("Use 'CMS.DocumentEngine.DocumentHelper.AddUnsortedAttachment(CMS.DocumentEngine.TreeNode, System.Guid, CMS.Base.IUploadedFile, System.Int32, System.Int32, System.Int32)' instead. You can use the 'CMS.Base.UploadExtensions.ToUploadedFile' extensions method for converting 'System.Web.HttpPostedFile' to the 'CMS.Base.IUploadedFile'.")] public static DocumentAttachment AddUnsortedAttachment( TreeNode node, Guid attachmentGuid, HttpPostedFile file, int width = -1, int height = -1, int maxSideSize = -1 )