|
OpenXLSX 1.9.1
|
Options for inserting an image into a worksheet. More...
#include <XLImageOptions.hpp>
Data Fields | |
| double | scaleX {1.0} |
| double | scaleY {1.0} |
| int32_t | offsetX {0} |
| int32_t | offsetY {0} |
| XLImagePositioning | positioning {XLImagePositioning::OneCell} |
| std::string | bottomRightCell |
| bool | printWithSheet {true} |
| bool | locked {false} |
Options for inserting an image into a worksheet.
| std::string OpenXLSX::XLImageOptions::bottomRightCell |
Bottom-right cell reference (e.g., "D10"). Used if positioning is TwoCell. If empty, calculated automatically.
| bool OpenXLSX::XLImageOptions::locked {false} |
Whether the image is locked (requires sheet protection to be active).
| int32_t OpenXLSX::XLImageOptions::offsetX {0} |
Horizontal offset in pixels from the anchor cell's left edge.
| int32_t OpenXLSX::XLImageOptions::offsetY {0} |
Vertical offset in pixels from the anchor cell's top edge.
| XLImagePositioning OpenXLSX::XLImageOptions::positioning {XLImagePositioning::OneCell} |
How the image anchors to cells.
| bool OpenXLSX::XLImageOptions::printWithSheet {true} |
Whether the image should be printed with the worksheet.
| double OpenXLSX::XLImageOptions::scaleX {1.0} |
Horizontal scaling factor. 1.0 = 100%.
| double OpenXLSX::XLImageOptions::scaleY {1.0} |
Vertical scaling factor. 1.0 = 100%.