Previous Document Next Document

Object Model Reference : Classes : C : CorelScript : Methods : CorelScript.DuplicateObject


CorelScript.DuplicateObject

Function DuplicateObject(XOffset As Long, YOffset As Long) As Long

Description

Member of CorelScript

The DuplicateObject method adds a copy of the selected object (or objects) to the current drawing. By default, the copy is placed on top of the original, offset up and to the right. It is also selected automatically.

Parameter
Description
XOffset
Specifies the horizontal distance by which to offset the duplicate object
YOffset
Specifies the vertical distance by which to offset the duplicate object

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.