Previous Document Next Document

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


CorelScript.Trim

Function Trim(LeaveTarget As Boolean, LeaveModifiers As Boolean) As Long

Description

Member of CorelScript

The Trim method trims the selected objects. Trimming two or more overlapping objects reshapes the last object selected, separating the paths at the points where the objects overlap. Initially, a trimmed object may appear no different than it did before trimming; however, closer inspection will show that new nodes appear where the object was trimmed. To see the full effect of a trim, move the trimmed objects apart.

Parameter
Description
LeaveTarget
Specifies whether to leave the target object in the document. True (-1) leaves the target object in the document, while False (0) removes it.
LeaveModifiers
Specifies whether to leave the modifier object in the document. True (-1) leaves the modifier object in the document, while False (0) removes it.

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.