Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


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

interface XShape
Base Interfaces
XShapeXShapeDescriptor

XShapeDescriptor
(referenced interface's summary:)
offers some settings which are allowed even for objects which are not yet inserted into a draw page.
Description
lets you do a basic transformation on a Shape and get its type.

Methods' 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.  
Methods' Details
getPosition
::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
void
setPosition( [in] ::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
::com::sun::star::awt::Size
getSize();

Description
gets the size of this object.
Returns
the size in 100/th mm
setSize
void
setSize( [in] ::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

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. The Apache feather logo is a trademark of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.