PictureFrame
概述
PictureFrame 是 Aspose.Slides FOSS 用于 Java 的一个类。继承自:GeometryShape, IPictureFrame。
表示一个内部包含图片的框架。
此类提供 56 个用于在 Java 程序中处理 PictureFrame 对象的方法。可用的方法包括:GeometryShape, PictureFrame, asIPresentationComponent, getAdjustments, getAlternativeText, getAlternativeTextTitle, getAsISlideComponent, getCNvPr, getConnectionSiteCount, getCustomData, getEffectFormat, getFillFormat,以及另外 43 个方法。所有公共成员在安装 Aspose.Slides FOSS for Java 包后,可供任何 Java 应用程序访问。属性:adjustments, alternativeText, alternativeTextTitle, asISlideComponent, cNvPr, cameo,以及另外 30 项。
属性
| 名称 | 类型 | 访问 | 描述 |
|---|---|---|---|
shapeType | ShapeType | 读取 | {@inheritDoc} 返回或设置 AutoShape 类型用于 PictureFrame。 . |
pictureFrameLock | IPictureFrameLock | 读取 | {@inheritDoc} 导航 {@code <p:nvPicPr>/<p:cNvPicPr>/<a:picLocks>},如果不存在则创建 {@code <a:picLocks>} 元素。 / |
pictureFormat | IPictureFillFormat | 读取 | {@inheritDoc} 返回包装 {@link PictureFillFormat} 的 {@code <p:blipFill>} 子元素,如果没有 blipFill 则返回 {@code null}。 / |
relativeScaleHeight | double | 读取 | 获取相对比例高度。 |
relativeScaleWidth | double | 读取 | 获取相对比例宽度。 |
cameo | boolean | 读取 | 获取 cameo。 |
cNvPr | Element | 读取 | 返回 {@code <p:nvPicPr>/<p:cNvPr>} 中的 {@code cNvPr} 元素。 |
x | double | 读取 | 获取 x。 |
y | double | 读取 | 获取 y。 |
width | double | 读取 | 获取宽度。 |
height | double | 读取 | 获取高度。 |
rotation | double | 读取 | 获取旋转。 |
shapeStyle | IShapeStyle | 读取 | 获取形状样式。 |
fillFormat | IFillFormat | 读取 | 获取填充格式。 |
adjustments | IAdjustValueCollection | 读取 | 获取调整。 |
textHolder | boolean | 读取 | 获取文本持有者。 |
placeholder | IPlaceholder | 读取 | 获取占位符。 |
customData | ICustomData | 读取 | 获取自定义数据。 |
rawFrame | IShapeFrame | 读取 | 获取原始帧。 |
frame | IShapeFrame | 读取 | 获取框架。 |
lineFormat | ILineFormat | 读取 | 获取线条格式。 |
threeDFormat | IThreeDFormat | 读取 | 获取三维格式。 |
effectFormat | IEffectFormat | 读取 | 获取效果格式。 |
hidden | boolean | 读取 | 获取隐藏的。 |
zOrderPosition | int | 读取 | 获取 z 顺序位置。 |
connectionSiteCount | int | 读取 | 获取连接站点计数。 |
alternativeText | String | 读取 | 获取替代文本。 |
alternativeTextTitle | String | 读取 | 获取替代文本标题。 |
name | String | 读取 | 获取名称。 |
decorative | boolean | 读取 | 获取装饰。 |
uniqueId | int | 读取 | 获取唯一 id。 |
officeInteropShapeId | int | 读取 | 获取 Office 互操作形状 ID。 |
grouped | boolean | 读取 | 获取已分组的。 |
asISlideComponent | ISlideComponent | 读取 | 获取 as i slide 组件。 |
slide | IBaseSlide | 读取 | 获取幻灯片。 |
presentation | IPresentation | 读取 | 获取演示。 |
方法
| 签名 | 描述 |
|---|---|
PictureFrame(xmlElement: Element, saveCallback: Runnable) | 创建一个由给定的 XML 元素支持的 PictureFrame。 |
PictureFrame() | 创建一个没有支撑元素的 PictureFrame。 |
getShapeType() → ShapeType | {@inheritDoc} 返回或设置 PictureFrame 的 AutoShape 类型。 |
setShapeType(value: ShapeType) | {@inheritDoc} / |
getPictureFrameLock() → IPictureFrameLock | {@inheritDoc} 导航 {@code <p:nvPicPr>/<p:cNvPicPr>/<a:picLocks>},如果不存在则创建 {@code <a:picLocks>} 元素。 / |
getPictureFormat() → IPictureFillFormat | {@inheritDoc} 返回包装 {@code <p:blipFill>} 子元素的 {@link PictureFillFormat},如果未出现 blipFill 则返回 {@code null}。 / |
getRelativeScaleHeight() → double | 返回相对缩放高度。 |
setRelativeScaleHeight(value: double) | 设置相对比例高度值。 |
getRelativeScaleWidth() → double | 返回相对缩放宽度。 |
setRelativeScaleWidth(value: double) | 设置相对比例宽度值。 |
isCameo() → boolean | 如果已设置 cameo,则返回 true。 |
getCNvPr() → Element | 返回来自 {@code <p:nvPicPr>/<p:cNvPr>} 的 {@code cNvPr} 元素。 |
GeometryShape(xmlElement: Element, saveCallback: Runnable) | 创建一个由给定的 XML 元素支持的 GeometryShape。 |
setParentShapes(shapes: Iterable<IShape>) | 设置用于连接查找的兄弟形状集合。 |
getX() → double | 返回 x。 |
setX(x: double) | 设置 x 值。 |
getY() → double | 返回 y。 |
setY(y: double) | 设置 y 值。 |
getWidth() → double | 返回宽度。 |
setWidth(width: double) | 设置宽度值。 |
getHeight() → double | 返回高度。 |
setHeight(height: double) | 设置高度值。 |
getRotation() → double | 返回旋转。 |
setRotation(rotation: double) | 设置旋转值。 |
getShapeStyle() → IShapeStyle | 返回形状样式。 |
getFillFormat() → IFillFormat | 返回填充格式。 |
getAdjustments() → IAdjustValueCollection | 返回调整。 |
isTextHolder() → boolean | 如果已设置文本持有者,则返回 true。 |
getPlaceholder() → IPlaceholder | 返回占位符。 |
getCustomData() → ICustomData | 返回自定义数据。 |
getRawFrame() → IShapeFrame | 返回原始帧。 |
setRawFrame(value: IShapeFrame) | 设置原始框架值。 |
getFrame() → IShapeFrame | 返回帧。 |
setFrame(value: IShapeFrame) | 设置框架值。 |
getLineFormat() → ILineFormat | 返回行格式。 |
getThreeDFormat() → IThreeDFormat | 返回三维格式。 |
getEffectFormat() → IEffectFormat | 返回效果格式。 |
isHidden() → boolean | 如果 hidden 已设置,则返回 true。 |
setHidden(value: boolean) | 设置隐藏值。 |
getZOrderPosition() → int | 返回 z 顺序位置。 |
getConnectionSiteCount() → int | 返回连接站点计数。 |
getAlternativeText() → String | 返回替代文本。 |
setAlternativeText(value: String) | 设置替代文本值。 |
getAlternativeTextTitle() → String | 返回替代文本标题。 |
setAlternativeTextTitle(value: String) | 设置备用文本标题值。 |
getName() → String | 返回名称。 |
setName(value: String) | 设置名称值。 |
isDecorative() → boolean | 如果已设置 decorative,则返回 true。 |
setDecorative(value: boolean) | 设置装饰价值。 |
getUniqueId() → int | 返回唯一 id。 |
getOfficeInteropShapeId() → int | 返回 office interop shape id。 |
isGrouped() → boolean | 如果已设置 grouped,则返回 true。 |
getAsISlideComponent() → ISlideComponent | 返回 as i slide 组件。 |
getSlide() → IBaseSlide | 返回幻灯片。 |
getPresentation() → IPresentation | 返回演示文稿。 |
asIPresentationComponent() → IPresentationComponent |