You are here: RainWorx.FrameWorx.MVC Namespaces > RainWorx.FrameWorx.MVC.Controllers > MediaController Class > RotateMedia Method

MediaControllerRotateMedia Method

AuctionWorx 3.5 API
rotates the specified media 90 degrees

Namespace:  RainWorx.FrameWorx.MVC.Controllers
Assembly:  RainWorx.FrameWorx.MVC (in RainWorx.FrameWorx.MVC.dll) Version: 3.5

Syntax

C#
public JsonResult RotateMedia(
	string guid,
	bool clockwise,
	string resultstyle
)

Parameters

guid
Type: SystemString
guid of the specified media
clockwise
Type: SystemBoolean
true to rotate clockwise, false to rotate counter-clockwise
resultstyle
Type: SystemString

Return Value

Type: JsonResult
specifies the media variation to return the url to, default "ThumbCrop"
See Also

Reference

Copyright © 2002-2022. RainWorx Software. All rights reserved.