OberonPlace.com Forums  

Go Back   OberonPlace.com Forums > Developer Forums > VBA > Corel Photo-Paint VBA

Thread Tools Search this Thread Display Modes
Old 15-10-2007, 16:21
Posts: n/a
Default This should be simple

I am currently evaluating Corel Paint X3 as a replacement for Photoshop.

Most of this has been fairly straight forward so far. However, I'm trying to determine how one would use replace text in a layer. I keep thinking that I must be overlooking something obvious because it should be simple.

Is this documented anywhere with sample code? If not, could someone please supply an example as to how this would be done?
Reply With Quote
Old 15-10-2007, 16:46
Posts: n/a
Default A little more info

I got this far:

Dim CScript As Object
Set CScript = CorelApp.CorelScript


CScript.TextTool cLayer.PositionX, cLayer.PositionY, False, True, 1

CScript.TextAppend uFullName
CScript.TextEdit i

But, I want to keep the text formatting and position the same. All I want to do is change the text.
Reply With Quote

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Simple Bar code generator Webster Code Critique 2 06-09-2010 01:41
Drawing a 'T', a simple Q madhur General 3 18-09-2007 06:37
A simple Question Eisejuaz Macros/Add-ons 2 02-01-2007 06:59
simple example chinkyk CorelDRAW/Corel DESIGNER VBA 3 19-10-2004 14:50
Simple Loop? dan CorelDRAW/Corel DESIGNER VBA 3 13-10-2004 13:31

All times are GMT -5. The time now is 09:21.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.
Copyright © 2011, Oberonplace.com