interface XShape in module com::sun::star::drawing::

(Global Index)

Syntax

interface XShape : com::sun::star::drawing::XShapeDescriptor ;

Description

lets you do a basic transformation on a Shape and get its type.

Method Summary

getPosition gets the current position of this object.

setPosition sets the current position of this object

getSize gets the size of this object.

setSize sets the size of this object.

Known Services Which Export this Interface

com::sun::star::drawing::Shape

com::sun::star::text::BaseFrame

Method Details



getPosition

Syntax

com::sun::star::awt::Point getPosition ();

Description

gets the current position of this object.

Returns

the position of the top left edge in 100/th mm

setPosition

Syntax

void setPosition (
com::sun::star::awt::Point aPosition );

Description

sets the current position of this object

Parameter aPosition

the position of the top left edge in 100/th mm

getSize

Syntax

com::sun::star::awt::Size getSize ();

Description

gets the size of this object.

Returns

the size in 100/th mm

setSize

Syntax

void setSize (
com::sun::star::awt::Size aSize )
raises ( com::sun::star::beans::PropertyVetoException );

Description

sets the size of this object.

Parameter aSize

the size in 100/th mm
Top of Page