API Reference
OfficeImageFrameTransform
Describes rotation and mirror transforms applied to an image frame in destination coordinates.
Inheritance
- ValueType
- OfficeImageFrameTransform
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
Accepted by parameters
- Method OfficeDrawing.AddClippedDrawing
- Method OfficeDrawing.AddClippedDrawing
- Method OfficeDrawing.AddClippedPositionedText
- Method OfficeDrawing.AddDrawing
- Method OfficeDrawing.AddPositionedText
- Constructor OfficeDrawingGroup.OfficeDrawingGroup
- Constructor OfficeDrawingGroup.OfficeDrawingGroup
- Method OfficeImageFrameTransform.Equals
- Method OfficeImageFrameTransform.op_Equality
- Method OfficeImageFrameTransform.op_Equality
- Method OfficeImageFrameTransform.op_Inequality
- Method OfficeImageFrameTransform.op_Inequality
- Method OfficeSvgFormatting.FormatImageFrameTransform
Constructors
public OfficeImageFrameTransform(Double rotationDegrees, Double centerX, Double centerY, Boolean flipHorizontal = false, Boolean flipVertical = false) #Creates a destination-space image frame transform.
Parameters
- rotationDegrees System.Double
- Clockwise rotation in degrees.
- centerX System.Double
- Rotation and mirror center X coordinate.
- centerY System.Double
- Rotation and mirror center Y coordinate.
- flipHorizontal System.Boolean = false
- Whether to mirror horizontally around the center.
- flipVertical System.Boolean = false
- Whether to mirror vertically around the center.
Methods
public OfficeTransform CreateDestinationTransform() #OfficeTransformCreates an affine matrix that applies this frame transform to destination-space coordinates.
public override Int32 GetHashCode() #Int32public static Boolean op_Equality(OfficeImageFrameTransform left, OfficeImageFrameTransform right) #BooleanReturns true when two frame transforms are equal.
Parameters
- left OfficeIMO.Drawing.OfficeImageFrameTransform
- right OfficeIMO.Drawing.OfficeImageFrameTransform
public static Boolean op_Inequality(OfficeImageFrameTransform left, OfficeImageFrameTransform right) #BooleanReturns true when two frame transforms are not equal.
Parameters
- left OfficeIMO.Drawing.OfficeImageFrameTransform
- right OfficeIMO.Drawing.OfficeImageFrameTransform
public ValueTuple<Double, Double, Double, Boolean, Boolean> ToTuple() #ValueTuple<Double, Double, Double, Boolean, Boolean>Converts the frame transform into a tuple useful for assertions and diagnostics.
Inherited Methods
Properties
public Double RotationDegrees { get; } #Clockwise rotation in degrees.
public Double CenterX { get; } #Rotation and mirror center X coordinate.
public Double CenterY { get; } #Rotation and mirror center Y coordinate.
public Boolean FlipHorizontal { get; } #Whether to mirror horizontally around the center.
public Boolean FlipVertical { get; } #Whether to mirror vertically around the center.
public Double ScaleX { get; } #Horizontal frame scale used for mirror transforms.
public Double ScaleY { get; } #Vertical frame scale used for mirror transforms.
public Boolean HasRotation { get; } #Whether the frame applies rotation.
public Boolean HasFlip { get; } #Whether the frame applies any mirror transform.
public Boolean HasTransform { get; } #Whether the frame applies rotation or mirroring.