Skip to content

Latest commit

 

History

History
30 lines (23 loc) · 1.11 KB

excel.isEncircled.md

File metadata and controls

30 lines (23 loc) · 1.11 KB

Excel.isEncircled

The isEncircled function is established to judge whether a point is encircled by a shape or not. Only XSSF(xlsx,xlsm).

Sample

var excel = new Excel("test.xlsx");
var tf1 = excel.isEncircled("Sheet1", "A1");
var tf2 = excel.isEncircled("Sheet1", "B2", 0.25, 0.5);

API

CallingReturning
Excel . isEncircled ( sheetName , position )Boolean
Excel . isEncircled ( sheetName , position , checkpointXRate ,checkpointYRate )Boolean
ParametersTypeDescription
sheetNameStringThe sheet name.
positionStringThe absolute reference of the cell.
checkpointXRateNumberThe The rate of the x coordinate of the shape center point to the cell width. The default is 0.5 .
checkpointYRateNumberThe The rate of the y coordinate of the shape center point to the cell height. The default is 0.5 .