Public Interface IColor
public interface IColor
Object dsColor
interface IColor
class dsColor
To change the color of an entity that allows access to its Color:
The examples linked to this Help topic demonstrate how to change the color of a Line.
IApplication::GetColorByIndex
IApplication::GetNamedColor
IApplication::GetRGBColor
IApplicationOptions::GetElementColor
IAttributeDefinition::Color
IAttributeInstance::Color
IBlockInstance::Color
ICircle::Color
ICircleArc::Color
IColorPicker::GetColor
ICurvedSettings::Color
IDimensionStyleLineOptions::DimensionLineColor
IDimensionStyleTextOptions::Color
IDimensionStyleTextOptions::FillColor
IEllipseArc::Color
IEmbeddedObject::Color
IEntityHelper::GetColor
IFace::Color
IGeneralDimension::Color
IGradientBackground::BottomColor
IGradientBackground::MiddleColor
IGradientBackground::TopColor
IHatch::Color
IInfiniteLine::Color
ILayer::Color
ILayer::GetColorInViewport
ILayerProperties::LineColor
ILeader::Color
ILine::Color
INote::BackgroundFillColor
INote::Color
IPoint::Color
IPolyFaceMesh::Color
IPolygonMesh::Color
IPolyLine::Color
IPolyLine3D::Color
IRay::Color
IReferenceImage::Color
IRegion::Color
IRichLine::Color
IRichLineStyle::GetLineColor
IShape::Color
ISimpleNote::Color
ISolid::Color
ISolidBackground::Color
ISpline::Color
ITable::Color
ITable::GetBackgroundColor
ITable::GetBordersColor
ITable::GetCellBackgroundColor
ITable::GetCellBordersColor
ITable::GetCellTextColor
ITable::GetTextColor
ITableStyle::GetBackgroundColor
ITableStyle::GetBordersColor
ITableStyle::GetTextColor
ITolerance::Color
ITolerance::DimensionLineColor
ITolerance::TextColor
ITrace::Color
IUnknownEntity::Color
IViewport::Color
Provide feedback on this topic
SOLIDWORKS welcomes your feedback concerning the presentation, accuracy, and thoroughness of the documentation. Use the form below to send your comments and suggestions about this topic directly to our documentation team. The documentation team cannot answer technical support questions. Click here for information about technical support.
* Required
Thank you for your comments. We will contact you if we have questions regarding your feedback.
Sincerely,The SOLIDWORKS Documentation Team
Print Topic
Select the scope of content to print:
We have detected you are using a browser version older than Internet Explorer 7. For optimized display, we suggest upgrading your browser to Internet Explorer 7 or newer.
Web Help Content Version: API Help (English only) 2019 SP05 To disable Web help from within SOLIDWORKS and use local help instead, click Help > Use SOLIDWORKS Web Help. To report problems encountered with the Web help interface and search, contact your local support representative. To provide feedback on individual help topics, use the “Feedback on this topic” link on the individual topic page.