Hola a todos! alguien sabe si con Corel se puede ver la superficie de un vector? necesito estimar un costo y de la manera que mejor lo solventaría es si se que cantidad de pintura en este caso voy a consumir, sabiendo los cm2 de lo que voy a estampar.
Code for All Shapes on Active Page
Private Sub CommandButton74_Click()ActiveDocument.Unit = cdrMillimeterFor Each bhbp_shape In ActiveDocument.ActivePage.ShapesBhBp_Area = BhBp_Area + Round(bhbp_shape.DisplayCurve.Area, 2)Next'MsgBox Round(ActiveShape.DisplayCurve.Area, 2) & " mm2" 'only selected shape areaMsgBox BhBp_Area & " mm2"End Sub
OR
Code for All Selected Shapes
Private Sub CommandButton72_Click()ActiveDocument.Unit = cdrMillimeter'For Each bhbp_shape In ActiveDocument.ActivePage.ShapesFor Each bhbp_shape In ActiveSelectionRange.ShapesBhBp_Area = BhBp_Area + Round(bhbp_shape.DisplayCurve.Area, 2)Next'MsgBox Round(ActiveShape.DisplayCurve.Area, 2) & " mm2" 'only selected shape areaMsgBox BhBp_Area & " mm2"End Sub