136 questions
Tooling
0
votes
1
replies
84
views
Python libraries or APIs for high-quality raster image to CorelDRAW (.cdr) conversion?
I am currently working on a Python project using the tools listed below:
import os
import sys
import argparse
import subprocess
import gradio as gr
import requests
import re
from typing import Tuple, ...
0
votes
0
answers
65
views
CorelDraw - Error in Macro for exporting objects using object name as filename
I want to create a macro that auto exports all objects in a layer as Png files, and assigns the object name as the filename. Am not a coder so I generated this from ChatGPT and added it to a new ...
0
votes
1
answer
116
views
[VBA][CorelDraw X7] Limit for Do While ... loop (and For ... next)?
Does VBA in CorelDraw have any limitations? I need to perform some checks on each pixel of an image. The code is as follows:
'For x = 0 To sh.Bitmap.Image.Height - 1
Do While x < sh.Bitmap....
1
vote
1
answer
485
views
Select all shapes in Corel Draw that are in a specific rectangular area with an vba macro
Is there a way in Corel Draw to select only the shapes of a layer that are located in a certain rectangular area of a page with an Corel VBA Macro?
I found so long only a way to select all or by name, ...
0
votes
2
answers
329
views
CorelDraw: Trouble with Intersect command
I use VBA to construct a complex drawing with CorelDraw (version 17.6). As part of the drawing, I have a rectangle which is intersected by several curves, which I have formatted individually. I use ...
0
votes
0
answers
577
views
CorelDRAW.Application class not registered VBA CorelDRAW
I'm trying to make a program in Excel's VBA editor that interacts with Corel. When I try to run Corel in the COM via this line:
Set cdrApp= CreateObject("CorelDRAW.Application")
I get "...
0
votes
0
answers
161
views
iTextSharp PDF generation issue: CMYK color space not maintained
If I generate the PDF file from CorelDRAW and check its metadata, it shows the color format as CMYK, which is what I expected. However, when I generate the PDF from iTextSharp, its metadata shows ...
0
votes
1
answer
210
views
Changing Object Names Based on Initial Object Size Calculation in Coreldraw
I would like to ask. "Previously, I have already created Object Names A-Z on the Green Line" and I'm trying to create a VBA code, here's the code:
works manually by selecting 2 objects
Sub ...
0
votes
1
answer
162
views
"VBA CorelDraw "Rename Object A-Z not in order
I have created a script to rename objects in CorelDraw according to alphabetical order. This script should work as expected, but I don't know why the sequence is from Z to A.
Screenshots on the left ...
0
votes
1
answer
308
views
Changing the Name of an Object Based on the Selected Object with VBA
This macro works by selecting 2 objects. The object that has been previously named is called 'A', and the other object's name is RANDOM. I hope that with this macro, I can change the name of the ...
1
vote
1
answer
659
views
Trying to open a manually created PDF in CorelDRAW but failing
Update and solved: I originally thought my problem was a more general question, but after @KJ checked my PDF file, it was actually a mistake in my own file. So the solution in the comments is specific ...
0
votes
0
answers
484
views
Batch convert .cdr into .svg with script
I need to create a script, in any language, for Windows, that can take .cdr files as input and convert them into .svg files. I've searched extensively for information but still don't have a solution. ...
0
votes
2
answers
459
views
Change Corel VBA userform textbox color from user input
I have a pretty extensive corel VBA userform and I want one of the textbox (textbox52) to change color based on the values entered in textbox38, 39 and 40 (RGB). Basically, it's an RGB color selector ...
0
votes
1
answer
191
views
Creating a text type Shape inside a rectangle shape in Document in c# using Interop.VGCore
I am trying to automate a task of creating a rectangle with text inside it programmatically using Corel Draw type library.
But because of very less documentation present it is getting really tough for ...
0
votes
1
answer
712
views
Automate a task of editing cdr files in c# using corel draw type library
Update :
I am able to get the shapes now,
only insertion of texts is remaining, and I am not able to figure out the way to insert text.
Now I am getting an exception while creating the instance of the ...