:: ooo :: vba :: excel ::

unpublished interface XLineObjects
Usage Restrictions
not published
Description
Collections that implement this interface provide access to a specific type of drawing objects in a single sheet.

The following sheet symbols represent collections of line objects, and therefore implement this interface:

  • Arcs: arc objects, and
  • Lines: straight line ojects.

These symbols are now deprecated in VBA but kept for compatibility with old VBA scripts.


Methods' Summary
Add Adds a new line object to the sheet this collection belongs to. The type of the object is determined by the type of the collection.  
Methods' Details
Add
any
Add( [in] any  fX1,
[in] any  fY1,
[in] any  fX2,
[in] any  fY2 );

Description
Adds a new line object to the sheet this collection belongs to. The type of the object is determined by the type of the collection.
Parameter fX1
Position of the first X coordinate in points (1/72 inch).
Parameter fY1
Position of the first Y coordinate in points (1/72 inch).
Parameter fX2
Position of the last X coordinate in points (1/72 inch).
Parameter fY2
Position of the last Y coordinate in points (1/72 inch).
Returns
The created line object.
Top of Page