Transaltes rotation into angle (degrees)
Namespace: Aspose.PdfAssembly: Aspose.PDF (in Aspose.PDF.dll) Version: 20.3
Syntaxpublic static double GetAngle(
Rotation rotation
)
Public Shared Function GetAngle (
rotation As Rotation
) As Double
public:
static double GetAngle(
Rotation rotation
)
static member GetAngle :
rotation : Rotation -> float
Parameters
- rotation
- Type: Aspose.PdfRotation
Rotation value.
Return Value
Type:
DoubleAngle value.
Examplesdouble angle = Matrix.GetAngle(Rotation.on90);
Matrix m = Matrix.Rotation(angle);
See Also