Class ControlFrame
Describes the position, size, flips, and rotation of an ActiveX control's drawing frame.
Inherited Members
Namespace: DRIT.Presentation
Assembly: DRIT.Presentation.dll
Syntax
public sealed class ControlFrame
Constructors
ControlFrame(double, double, double, double, bool, bool, double)
Initializes a new frame with the specified geometry.
Declaration
public ControlFrame(double x, double y, double width, double height, bool flipH = false, bool flipV = false, double rotation = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| double | x | |
| double | y | |
| double | width | |
| double | height | |
| bool | flipH | |
| bool | flipV | |
| double | rotation |
Properties
FlipH
Gets or sets whether the frame is horizontally flipped.
Declaration
public bool FlipH { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
FlipV
Gets or sets whether the frame is vertically flipped.
Declaration
public bool FlipV { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
Height
Gets or sets the frame height in points.
Declaration
public double Height { get; set; }
Property Value
| Type | Description |
|---|---|
| double |
Rotation
Gets or sets the frame rotation in degrees.
Declaration
public double Rotation { get; set; }
Property Value
| Type | Description |
|---|---|
| double |
Width
Gets or sets the frame width in points.
Declaration
public double Width { get; set; }
Property Value
| Type | Description |
|---|---|
| double |
X
Gets or sets the horizontal position in points.
Declaration
public double X { get; set; }
Property Value
| Type | Description |
|---|---|
| double |
Y
Gets or sets the vertical position in points.
Declaration
public double Y { get; set; }
Property Value
| Type | Description |
|---|---|
| double |