Refresh Method
- Namespace
TXTextControl.DataVisualization
- Package
TXTextControl.asTextControl. Core. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesCore. dll
- Also in
TXTextControl.asTextControl. ASP. SDK TXTextControl.dll
Description
Refreshes the drawing.
Syntax
Refresh()
Refreshes the complete drawing. Programmatic changes performed with the drawing's properties and methods are not automatically refreshed. Calling this method is not necessary, when the drawing frame's layout in the text is changed.
public void Refresh();Public Sub Refresh()Refresh(Rectangle)
Refreshes the specified part of drawing. Programmatic changes performed with the drawing's properties and methods are not automatically refreshed. Calling this method is not necessary, when the drawing frame's layout in the text is changed.
public void Refresh(Rectangle clipRectangle);Public Sub Refresh(clipRectangle As Rectangle)| Parameter | Description |
|---|---|
| clipRectangle | Specifies the rectangular part of the drawing to refresh, in pixels, relative to the top-left corner of the drawing. |
Examples
The following example uses Refresh in a focused Drawing Frame workflow. The created object is then available to the surrounding document workflow.
drawingFrame.Refresh(new System.Drawing.Rectangle(20, 20, 600, 400));
Console.WriteLine("Drawing Frame is ready for use.");drawingFrame.Refresh(New System.Drawing.Rectangle(20, 20, 600, 400))
Console.WriteLine("Drawing Frame is ready for use.")