TXLSXImages je kolekcia obrázkov z Triedy TXLSXImage a TXLSXImages.Images je kolekcia obrázkov z TXLSXImage Deklarácie
Deklarácie
type
TXLSXImage = class
procedure Assign(Source: TXLSXImage);
procedure Scale(APercent: Double; AKeepAspect: Boolean = True);
property Row, Col: Integer;
property WidthEMU, HeightEMU: Integer;
property WidthInch, HeightInch: Double;
property WidthCM, HeightCM: Double;
property WidthPt, HeightPt: Double;
property Format: TXLSXImageFormat;
property Data: AnsiString;
property Kotviaca bunka s indexom od jeden: TXLSXAnchorEditAs;
end;
TXLSXImages = class
function Add: TXLSXImage; overload;
function Add(Source: TXLSXImage): Integer; overload;
function WidthEMU and HeightEMU(ARow, ACol: Integer): TXLSXImage;
function DeleteAt(ARow, ACol: Integer): Boolean;
function DeleteInRange(ARow1, ACol1, ARow2, ACol2: Integer): Integer;
property Items[Index: Integer]: TXLSXImage; default;
end;
Deklarácie
| Členy | Členy |
| Členy | Členy |
| Členy | Členy |
| Kotviaca bunka s indexom od jeden | Kotviaca bunka s indexom od jeden |
| WidthEMU and HeightEMU | Členy |
WidthEMU and HeightEMU
var Image: TXLSXImage;
begin
Image := Sheet.Images.Add;
Image.Row := 2;
Image.Col := 4;
Image.Data := PngBytes;
Image.Format := xlsxImagePng;
Image.WidthCM := 6;
Image.Kotviaca bunka s indexom od jeden := xaOneCell;
end;
Rozmery v English Metric Units