Previous Document Next Document

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


CorelScript.CopyPropertiesFrom

Function CopyPropertiesFrom(FromObjectID As Long, OutlinePen As Boolean, OutlineColor As Boolean, Fill As Boolean, TextAttributes As Boolean) As Long

Description

Member of CorelScript

The CopyPropertiesFrom method copies the properties from the object having the specified object ID to the selected object.

Parameter
Description
FromObjectID
Specifies the object ID of the source object. To determine the ID of an object, use the CorelScript.GetObjectsCDRStaticID method.
OutlinePen
Specifies whether to copy outline-pen properties. True (-1) copies outline-pen properties, while False (0) excludes them.
OutlineColor
Specifies whether to copy outline-color properties. True (-1) copies outline-color properties, while False (0) excludes them.
Fill
Specifies whether to copy fill properties. True (-1) copies fill properties, while False (0) excludes them.
TextAttributes
Specifies whether to copy text properties. True (-1) copies text properties, while False (0) excludes them.

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.