подскажите, как покрасить названия plates
имеется:
хочется с как-то через .StringAssign
имеется:
хочется с как-то через .StringAssign
Код:
Sub NumberPlates()
Dim strPlates As String
Dim Plate As SeparationPlate
Dim intPlateCounter As Integer
ActiveDocument.Unit = cdrMillimeter
With ActiveDocument.PrintSettings.Separations
For intPlateCounter = 1 To .Plates.Count
If .Plates(intPlateCounter).Enabled = True Then
strPlates = strPlates & .Plates(intPlateCounter).Color & vbCr
End If
Next intPlateCounter
Set inf = ActiveLayer.CreateArtisticText(0, -5, strPlates, , , "Arial", 8, cdrTrue, 0, , cdrLeftAlignment)
End With
End Sub