Highlighted

Get Color Name

Community Beginner ,
Aug 02, 2020

Copy link to clipboard

Copied

I used the Windows OS and Visual Studio development environment.

How to get the Color Name using API from the ART?

Topics

SDK

Views

38

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Get Color Name

Community Beginner ,
Aug 02, 2020

Copy link to clipboard

Copied

I used the Windows OS and Visual Studio development environment.

How to get the Color Name using API from the ART?

Topics

SDK

Views

39

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Enthusiast ,
Aug 03, 2020

Copy link to clipboard

Copied

Illus only can get color name of Spot,Gradient,Pattern

Ex in Vb.net: get color of a character:

Dim strTypeName = TypeName(oChar.CharacterAttributes.FillColor)

Dim strColorName =""
Select Case strTypeName
Case "SpotColor"
strColorName = oChar.CharacterAttributes.FillColor.Spot.Name
Case "GradientColor"
strColorName = oChar.CharacterAttributes.FillColor.Gradient.Name
Case "PatternColor"
strColorName = oChar.CharacterAttributes.FillColor.Pattern.Name
Case Else
strColorName=""
End Select

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...