KHTMFile πŸ’Ύ
1.27K subscribers
1.18K photos
341 videos
386 files
465 links
Subscribe PSD AI CDR
Download Telegram
 Option Explicit

Private Sub btnNoteLength_Click()
Dim s As Shape
Dim curveLength As Double
Dim x As Double, y As Double
Dim textShape As Shape

' Check if a shape is selected
If ActiveSelection.Shapes.Count = 1 Then
Set s = ActiveSelection.Shapes(1)

' Ensure it's a curve
If s.Type = cdrCurveShape Then
curveLength = s.Curve.Length

' Get position (midpoint of the curve's bounding box)
x = s.BoundingBox.Left + (s.BoundingBox.Width / 2)
y = s.BoundingBox.Top + (s.BoundingBox.Height / 2)

' Create a text label with the curve length
Set textShape = ActiveLayer.CreateArtisticText(x, y, "Length: " & Round(curveLength, 3) & " mm")

MsgBox "Curve length noted: " & Round(curveLength, 3) & " mm", vbInformation, "Success"
Else
MsgBox "Please select a curve.", vbExclamation, "Invalid Selection"
End If
Else
MsgBox "Please select a single curve.", vbExclamation, "No Selection"
End If
End Sub

Private Sub btnClose_Click()
Unload Me
End Sub

Sub OpenCurveLengthForm()
frmCurveLength.Show
End Sub
πŸ‘1
 Sub Start()
Dim OrigSelection As ShapeRange
Set OrigSelection = ActiveSelectionRange
Dim dup1 As ShapeRange
Set dup1 = OrigSelection.Duplicate(, -2.165354)
dup1.Move 0#, -y
dup1.OrderToFront
Dim dup2 As ShapeRange
Set dup2 = dup1.Duplicate(, -2.165354)
dup2.Move 0#, -y
dup2.OrderToFront
Dim dup3 As ShapeRange
Set dup3 = dup2.Duplicate(, -2.165354)
dup3.Move 0#, -y
dup3.OrderToFront
Dim dup4 As ShapeRange
Set dup4 = dup3.Duplicate(, -2.165354)
dup4.Move 0#, -y
dup4.OrderToFront

ActiveDocument.AddToSelection dup1, dup2, dup3, dup4

Set s1 = ActiveSelection.Group.Duplicate(3.543307)

Set OrigSelection = ActiveSelectionRange
ActiveLayer.Shapes(1).AddToSelection

Set s1 = ActiveSelection.Group
End Sub
Media is too big
VIEW IN TELEGRAM
Faster Object for Cutter #CorelDRAW ✍️✍️✍️
Forwarded from αž”αŸŠαž»αž“ αž’αžΈαž˜
αžˆαž»αžαž€αŸ’αž›αŸ„αž„αž‘αŸ’αžœαžΆαžšαžŸαž˜αŸ’αžšαžΆαž”αŸ‹αž…αžΌαž›αž†αŸ’αž“αžΆαŸ†αžαŸ’αž˜αŸ‚αžš ( αž‚αž»αžŽαž—αžΆαž– HD )
αž˜αžΆαž“αž‘αž‘αž½αž›αž–αŸ’αžšαžΈαž“ : @MrrBunThym
This media is not supported in your browser
VIEW IN TELEGRAM
αžšαž”αŸ€αž”αž…αž˜αŸ’αž›αž„αžαŸ’αž“αžΆαžαž–αžΈ CorelDRAW αž‘αŸ… Excel αž”αžΆαž“αžšαž αŸαžŸ βœοΈβœοΈβœοΈβ˜•οΈ @freeonekh αž‘αžΆαž‰αž™αž€αž“αžΌαžœαž‘αžΈαž“αŸαŸ‡
πŸ‘2