CMSAbstractTransformation.GetSharePointImageUrl Method |
Gets URL for accessing an image on SharePoint server.
Namespace: CMS.ControlsAssembly: CMS.Controls (in CMS.Controls.dll) Version: 9.0.0
Syntaxpublic string GetSharePointImageUrl(
string fileRefColumnName = null,
Nullable<int> width = null,
Nullable<int> height = null,
Nullable<int> maxSideSize = null
)
Parameters
- fileRefColumnName (Optional)
- Type: System.String
Name of column which contains SharePoint server relative path to the image. Null uses the default (FileRef). - width (Optional)
- Type: System.Nullable<Int32>
Maximum width of the image the handler should return. - height (Optional)
- Type: System.Nullable<Int32>
Maximum height of the image the handler should return. - maxSideSize (Optional)
- Type: System.Nullable<Int32>
Maximum side size of the image the handler should return.
Return Value
Type:
String
See Also