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

42

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

43

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
Aug 02, 2020 0
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...
Aug 03, 2020 0
Resources