【CorelDraw VBA 012例】创建并提取轮廓

Sub CreateContour()
    '##创建并提取轮廓
    Dim rect As Shape
    Dim cSr As ShapeRange
    Set rect = ActiveShape
    ActiveDocument.Unit = 3
    Set e = rect.CreateContour(cdrContourToCenter, 10)
    Set cSr = e.Separate
    Set s = cSr(1)
End Sub

  

posted @ 2021-11-25 11:46  岳帆(SoSo)  阅读(533)  评论(0)    收藏  举报