TClientAnchor.TClientAnchor Constructor
Overloads
- TClientAnchor.TClientAnchor
- TClientAnchor.TClientAnchor(TFlxAnchorType, Int32, Int32, Int32, Int32, Int32, Int32, IRowColSize)
- TClientAnchor.TClientAnchor(TFlxAnchorType, Int32, Int32, Int32, Int32, Int32, Int32, Int32, Int32)
- TClientAnchor.TClientAnchor(Boolean, TFlxAnchorType, Int32, Int32, Int32, Int32, Int32, Int32, Int32, Int32)
- TClientAnchor.TClientAnchor(TFlxAnchorType, Int32, Int32, Int32, Int32, Int32, Int32, Int32, Int32, IRowColSize)
TClientAnchor.TClientAnchor
Creates an Empty ClientAnchor.
Syntax
Namespace: FlexCel.Core
public TClientAnchor()
See also
TClientAnchor.TClientAnchor(TFlxAnchorType, Int32, Int32, Int32, Int32, Int32, Int32, IRowColSize)
Creates a new image based on the image size.
Syntax
Namespace: FlexCel.Core
public TClientAnchor(TFlxAnchorType aAnchorType, Int32 aRow1, Int32 aPixDy1, Int32 aCol1, Int32 aPixDx1, Int32 height, Int32 width, IRowColSize Workbook)
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
aAnchorType | TFlxAnchorType | How the image behaves when copying/inserting cells. | |
aRow1 | Int32 | Row where to insert the image. | |
aPixDy1 | Int32 | Delta in resolution-independent-pixels (1/96 of an inch) that the image is moved from aRow1. | |
aCol1 | Int32 | Column where to insert the image. | |
aPixDx1 | Int32 | Delta in resolution-independent-pixels (1/96 of an inch) that the image is moved from aCol1. | |
height | Int32 | Height in resolution-independent-pixels (1/96 of an inch). | |
width | Int32 | Width in resolution-independent-pixels (1/96 of an inch). | |
Workbook | IRowColSize | ExcelFile with the workbook, used to calculate the cells. |
See also
TClientAnchor.TClientAnchor(TFlxAnchorType, Int32, Int32, Int32, Int32, Int32, Int32, Int32, Int32)
Creates a new ClientAnchor object, based on cell coords. Does not take in count actual image size.
Syntax
Namespace: FlexCel.Core
public TClientAnchor(TFlxAnchorType aAnchorType, Int32 aRow1, Int32 aDy1, Int32 aCol1, Int32 aDx1, Int32 aRow2, Int32 aDy2, Int32 aCol2, Int32 aDx2)
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
aAnchorType | TFlxAnchorType | How the image behaves when copying/inserting cells. | |
aRow1 | Int32 | First Row of object. | |
aDy1 | Int32 | Delta y of image on 1/255 of a cell. 0 means totally at the top, 128 on half of the cell, 255 means at the top of next cell. | |
aCol1 | Int32 | First column of object | |
aDx1 | Int32 | Delta x of image, on 1/1024 of a cell. 0 means totally at the left, 512 on half of the cell, 1024 means at the left of next cell. | |
aRow2 | Int32 | Last row of object. | |
aDy2 | Int32 | Delta y of image on 1/255 of a cell. 0 means totally at the top, 128 on half of the cell, 255 means at the top of next cell. | |
aCol2 | Int32 | Last column of object. | |
aDx2 | Int32 | Delta x of image, on 1/1024 of a cell. 0 means totally at the left, 512 on half of the cell, 1024 means at the left of next cell. |
See also
TClientAnchor.TClientAnchor(Boolean, TFlxAnchorType, Int32, Int32, Int32, Int32, Int32, Int32, Int32, Int32)
Creates a new ClientAnchor object, based on cell coordinates. Ignores actual image size.
Syntax
Namespace: FlexCel.Core
public TClientAnchor(Boolean aChartCoords, TFlxAnchorType aAnchorType, Int32 aRow1, Int32 aDy1, Int32 aCol1, Int32 aDx1, Int32 aRow2, Int32 aDy2, Int32 aCol2, Int32 aDx2)
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
aChartCoords | Boolean | If true, the object is inside a chart and rows and columns range from 0 to 4000. | |
aAnchorType | TFlxAnchorType | How the image behaves when copying/inserting cells. | |
aRow1 | Int32 | First Row of object. | |
aDy1 | Int32 | Delta y of image on 1/255 of a cell. 0 means totally at the top, 128 on half of the cell, 255 means at the top of next cell. | |
aCol1 | Int32 | First column of object. | |
aDx1 | Int32 | Delta x of image, on 1/1024 of a cell. 0 means totally at the left, 512 on half of the cell, 1024 means at the left of next cell. | |
aRow2 | Int32 | Last row of object. | |
aDy2 | Int32 | Delta y of image on 1/255 of a cell. 0 means totally at the top, 128 on half of the cell, 255 means at the top of next cell. | |
aCol2 | Int32 | Last column of object. | |
aDx2 | Int32 | Delta x of image, on 1/1024 of a cell. 0 means totally at the left, 512 on half of the cell, 1024 means at the left of next cell. |
See also
TClientAnchor.TClientAnchor(TFlxAnchorType, Int32, Int32, Int32, Int32, Int32, Int32, Int32, Int32, IRowColSize)
Creates a new image based on the image size.
Syntax
Namespace: FlexCel.Core
public TClientAnchor(TFlxAnchorType aAnchorType, Int32 aRow1, Int32 aPixDy1, Int32 aCol1, Int32 aPixDx1, Int32 aRow2, Int32 aPixDy2, Int32 aCol2, Int32 aPixDx2, IRowColSize Workbook)
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
aAnchorType | TFlxAnchorType | How the image behaves when copying/inserting cells. | |
aRow1 | Int32 | Row where to insert the image. | |
aPixDy1 | Int32 | Delta in resolution-independent-pixels (1/96 of an inch) that the image is moved from aRow1. | |
aCol1 | Int32 | Column where to insert the image. | |
aPixDx1 | Int32 | Delta in resolution-independent-pixels (1/96 of an inch) that the image is moved from aCol1. | |
aRow2 | Int32 | Row where to insert the image. | |
aPixDy2 | Int32 | Delta in resolution-independent-pixels (1/96 of an inch) that the image is moved from aRow1. | |
aCol2 | Int32 | Column where to insert the image. | |
aPixDx2 | Int32 | Delta in resolution-independent-pixels (1/96 of an inch) that the image is moved from aCol1. | |
Workbook | IRowColSize | ExcelFile with the workbook, used to calculate the cells. |