![]() |
This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IR > IRepresentation Interface > IRepresentation.Graphics Property (ArcObjects .NET 10.4 SDK) |
The Graphics object that describes the free representation.
[Visual Basic .NET] Public Property Graphics As IRepresentationGraphics
[C#] public IRepresentationGraphics Graphics {get; set;}
[C++]
HRESULT get_Graphics(
IRepresentationGraphics** Graphics
);
[C++]
HRESULT put_Graphics(
IRepresentationGraphics* Graphics
);
[C++]
Parameters Graphics [out, retval]
Graphics is a parameter of type IRepresentationGraphics Graphics [in]
Graphics is a parameter of type IRepresentationGraphics
Use Graphics property to get or set a reference to the graphic object when representation is based on free representation. A free representation (Graphics) has a RepresentationRuleID value equal to -1. For all other representations, the RuleID value is a valid value and always greater than or equal to 1.
Graphics property will return an empty object when the representation is not based on free representation.
How to convert a feature representation into a free representation which uses Graphics for drawing: