# VisMeter

Namespace: **PPJ.Runtime.Vis**

Assembly: **PPJ.Runtime.Vis.49** (4.9.0.0)

Progress meter control.

{% tabs %}
{% tab title="C#" %}

```csharp
public class VisMeter : SalCustomControl
```

{% endtab %}

{% tab title="VB.NET" %}

```visual-basic
Public Class VisMeter
    Inherits SalCustomControl
```

{% endtab %}
{% endtabs %}

## Constructors

### ![](/files/dBIrS7XBDGmrzmTRbSI6)VisMeter()

Default Constructor.

## Properties

### ![](/files/dBIrS7XBDGmrzmTRbSI6)HScroll

[Boolean](https://docs.microsoft.com/en-us/dotnet/api/system.boolean): (Default: `False`)

### ![](/files/dBIrS7XBDGmrzmTRbSI6)MarqueeAnimationSpeed

[Int32](https://docs.microsoft.com/en-us/dotnet/api/system.int32): Gets or the time period, in milliseconds, that it takes the progress block to scroll across the progress bar. (Default: `100`)

### ![](/files/dBIrS7XBDGmrzmTRbSI6)Maximum

[Int32](https://docs.microsoft.com/en-us/dotnet/api/system.int32): Gets or sets the maximum value of the range of the control. (Default: `100`)

### ![](/files/dBIrS7XBDGmrzmTRbSI6)Minimum

[Int32](https://docs.microsoft.com/en-us/dotnet/api/system.int32): Gets or sets the minimum value of the range of the control. (Default: `0`)

### ![](/files/dBIrS7XBDGmrzmTRbSI6)RightToLeftLayout

[Boolean](https://docs.microsoft.com/en-us/dotnet/api/system.boolean): Indicates whether the control layout is right-to-left when the RightToLeft property is set to Yes.

### ![](/files/dBIrS7XBDGmrzmTRbSI6)Style

[ProgressBarStyle](https://docs.microsoft.com/en-us/dotnet/api/system.windows.forms.progressbarstyle): Gets or sets the manner in which progress should be indicated on the progress bar. (Default: `0`)

### ![](/files/dBIrS7XBDGmrzmTRbSI6)Value

[Int32](https://docs.microsoft.com/en-us/dotnet/api/system.int32): Gets or sets the current position of the progress bar. (Default: `0`)

### ![](/files/dBIrS7XBDGmrzmTRbSI6)VScroll

[Boolean](https://docs.microsoft.com/en-us/dotnet/api/system.boolean): (Default: `False`)

### ![](/files/dBIrS7XBDGmrzmTRbSI6)WindowsClassName

[String](https://docs.microsoft.com/en-us/dotnet/api/system.string): (Default: `""`)

### ![](/files/dBIrS7XBDGmrzmTRbSI6)WindowsDLLName

[String](https://docs.microsoft.com/en-us/dotnet/api/system.string): (Default: `""`)

### ![](/files/dBIrS7XBDGmrzmTRbSI6)WindowsExStyle

[Int32](https://docs.microsoft.com/en-us/dotnet/api/system.int32): (Default: `0`)

### ![](/files/dBIrS7XBDGmrzmTRbSI6)WindowsStyle

[Int32](https://docs.microsoft.com/en-us/dotnet/api/system.int32): (Default: `0`)

## Methods

### ![](/files/69uzLyEV3ANF4GK6pznb)FromHandle(handle)

Returns the control associated with the handle.

| Parameter  | Type                                                                        | Description |
| ---------- | --------------------------------------------------------------------------- | ----------- |
| **handle** | [SalWindowHandle](/ppj.runtime.vis.49/controls/ppj.runtime.vis.vismeter.md) |             |

**Returns:** [VisMeter](/ppj.runtime.vis.49/controls/ppj.runtime.vis.vismeter.md).

### ![](/files/dBIrS7XBDGmrzmTRbSI6)SetProgress(nPercent)

| Parameter    | Type                                                                  | Description |
| ------------ | --------------------------------------------------------------------- | ----------- |
| **nPercent** | [SalNumber](/ppj.runtime.vis.49/controls/ppj.runtime.vis.vismeter.md) |             |

**Returns:** [SalNumber](/ppj.runtime.vis.49/controls/ppj.runtime.vis.vismeter.md).

## Implements

| Name                                                                   | Description |
| ---------------------------------------------------------------------- | ----------- |
| [ISalWindow](/ppj.runtime.vis.49/controls/ppj.runtime.vis.vismeter.md) |             |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://desktop-api.iceteagroup.com/ppj.runtime.vis.49/controls/ppj.runtime.vis.vismeter.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
