## ICSSKeyframesRule.FindRule method

The findRule method returns the rule with a key matching the passed key. If no such rule exists, a null value is returned

```csharp
public ICSSKeyframeRule FindRule(string key)
```

| Parameter | Type | Description |
| --- | --- | --- |
| key | String | The key which described the rule to find. The key must resolve to a number between 0 and 1, or the rule is ignored. |

### Return Value

The found rule

### See Also

* interface [ICSSKeyframeRule](../../icsskeyframerule/)
* interface [ICSSKeyframesRule](../)
* namespace [Aspose.Html.Dom.Css](../../../aspose.html.dom.css/)
* assembly [Aspose.HTML](../../../)
