    

 ## On this page

  

 

 # Interface IDrawFacet

 Last update: 16.07.2025 

Namespace: [VM.Managed](VM.Managed.md)  
Assembly: VMAppCore.dll

This interface is to represent the \[draw facet\].

```csharp
public interface IDrawFacet

```

#### Extension Methods

[LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType)](VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkProperties_System_Object_VM_Models_Pre_LinkPropertyType_), [LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType)](VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkPropertiesAndValues_System_Object_VM_Models_Pre_LinkPropertyType_), [LinkPropertyItemCache.GetLinkedObjects&lt;T&gt;(object, LinkPropertyType)](VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkedObjects__1_System_Object_VM_Models_Pre_LinkPropertyType_)

## Methods

### DrawFacet(Canvas)

Draw facet.

```csharp
void DrawFacet(Canvas canvas)

```

#### Parameters

`canvas` Canvas

The canvas.

### DrawFacetByDefaultParameters(Canvas)

Draws facet by default parameters.

```csharp
void DrawFacetByDefaultParameters(Canvas canvas)

```

#### Parameters

`canvas` Canvas

The canvas has icon information.

### DrawFacetInGlobal(Canvas)

Draw facet in global.

```csharp
void DrawFacetInGlobal(Canvas canvas)

```

#### Parameters

`canvas` Canvas

The canvas.

### SetGeometryRepresentation(string, string, bool)

Set geometry representation.

```csharp
bool SetGeometryRepresentation(string strGeom, string strDefaultGeom, bool bUseRedraw)

```

#### Parameters

`strGeom` [string](https://learn.microsoft.com/dotnet/api/system.string)

The geometry information.

`strDefaultGeom` [string](https://learn.microsoft.com/dotnet/api/system.string)

The geometry information when checked default value.

`bUseRedraw` [bool](https://learn.microsoft.com/dotnet/api/system.boolean)

The redraw flag.

#### Returns

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)