com.f1j.ss
Interface Drawing
- public interface Drawing
- extends Drawing
This interface defines the drawing API with spreadsheet extensions.
addChart
public FcChart addChart(ShapeAnchor shapeAnchor)
throws AccessDeniedException
- Adds a new chart control to the drawing.
- Parameters:
shapeAnchor - An interface to a client-defined object specifying
the position and size of the control.- Returns:
- the new control object.
- Throws:
- AccessDeniedException - if the sheet is protected.
addFormControl
public Shape addFormControl(EFormControl eType,
ShapeAnchor shapeAnchor)
throws AccessDeniedException
- Adds a new form control to the drawing.
- Parameters:
eType - An enumerated value defined in the
FormControlTypes interface.shapeAnchor - An interface to a client-defined object specifying
the position and size of the control.- Returns:
- the new control object.