Return new `p:graphicFrame` element containing embedded `ole_object_file`.
(
cls,
shapes: _BaseGroupShapes,
shape_id: int,
ole_object_file: str | IO[bytes],
prog_id: PROG_ID | str,
x: Length,
y: Length,
cx: Length | None,
cy: Length | None,
icon_file: str | IO[bytes] | None,
icon_width: Length | None,
icon_height: Length | None,
)
| 1035 | |
| 1036 | @classmethod |
| 1037 | def graphicFrame( |
| 1038 | cls, |
| 1039 | shapes: _BaseGroupShapes, |
| 1040 | shape_id: int, |
| 1041 | ole_object_file: str | IO[bytes], |
| 1042 | prog_id: PROG_ID | str, |
| 1043 | x: Length, |
| 1044 | y: Length, |
| 1045 | cx: Length | None, |
| 1046 | cy: Length | None, |
| 1047 | icon_file: str | IO[bytes] | None, |
| 1048 | icon_width: Length | None, |
| 1049 | icon_height: Length | None, |
| 1050 | ) -> CT_GraphicalObjectFrame: |
| 1051 | """Return new `p:graphicFrame` element containing embedded `ole_object_file`.""" |
| 1052 | return cls( |
| 1053 | shapes, |
| 1054 | shape_id, |
| 1055 | ole_object_file, |
| 1056 | prog_id, |
| 1057 | x, |
| 1058 | y, |
| 1059 | cx, |
| 1060 | cy, |
| 1061 | icon_file, |
| 1062 | icon_width, |
| 1063 | icon_height, |
| 1064 | )._graphicFrame |
| 1065 | |
| 1066 | @lazyproperty |
| 1067 | def _graphicFrame(self) -> CT_GraphicalObjectFrame: |