示例#1
0
	/**
	 * Create a <code>TextBox</code> object that represents the slide's title.
	 *
	 * @return <code>TextBox</code> object that represents the slide's title.
	 */
	public TextBox AddTitle() {
		Placeholder pl = new Placeholder();
		pl.SetShapeType(ShapeTypes.Rectangle);
		pl.GetTextRun().SetRunType(TextHeaderAtom.TITLE_TYPE);
		pl.SetText("Click to edit title");
		pl.SetAnchor(new java.awt.Rectangle(54, 48, 612, 90));
		AddShape(pl);
		return pl;
	}