public static enum ClientAnchorData.AnchorType extends Enum<ClientAnchorData.AnchorType>
| 枚举常量和说明 |
|---|
DONT_MOVE_AND_RESIZE
Do Not Move or Resize With Underlying Rows/Columns (3)
Specifies that the current start and end positions shall
be maintained with respect to the distances from the
absolute start point of the worksheet.
|
DONT_MOVE_DO_RESIZE
Don't Move but do Resize With Anchor Cells (1)
Specifies that the current drawing shall not move with its
row and column, but should be resized.
|
MOVE_AND_RESIZE
Move and Resize With Anchor Cells (0)
Specifies that the current drawing shall move and
resize to maintain its row and column anchors (i.e. the
object is anchored to the actual from and to row and column)
|
MOVE_DONT_RESIZE
Move With Cells but Do Not Resize (2)
Specifies that the current drawing shall move with its
row and column (i.e. the object is anchored to the
actual from row and column), but that the size shall remain absolute.
|
| 限定符和类型 | 方法和说明 |
|---|---|
static ClientAnchorData.AnchorType |
byId(int value)
return the AnchorType corresponding to the code
|
static ClientAnchorData.AnchorType |
valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static ClientAnchorData.AnchorType[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final ClientAnchorData.AnchorType MOVE_AND_RESIZE
Specifies that the current drawing shall move and resize to maintain its row and column anchors (i.e. the object is anchored to the actual from and to row and column)
public static final ClientAnchorData.AnchorType DONT_MOVE_DO_RESIZE
Specifies that the current drawing shall not move with its row and column, but should be resized. This option is not normally used, but is included for completeness.
Note: Excel has no setting for this combination, nor does the ECMA standard.public static final ClientAnchorData.AnchorType MOVE_DONT_RESIZE
Specifies that the current drawing shall move with its row and column (i.e. the object is anchored to the actual from row and column), but that the size shall remain absolute.
If additional rows/columns are added between the from and to locations of the drawing, the drawing shall move its to anchors as needed to maintain this same absolute size.
public static final ClientAnchorData.AnchorType DONT_MOVE_AND_RESIZE
Specifies that the current start and end positions shall be maintained with respect to the distances from the absolute start point of the worksheet.
If additional rows/columns are added before the drawing, the drawing shall move its anchors as needed to maintain this same absolute position.
public static ClientAnchorData.AnchorType[] values()
for (ClientAnchorData.AnchorType c : ClientAnchorData.AnchorType.values()) System.out.println(c);
public static ClientAnchorData.AnchorType valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值@Internal public static ClientAnchorData.AnchorType byId(int value)
value - the anchor type codeCopyright © 2018–2022 Alibaba Group. All rights reserved.